I have an issue. I have two text. On page load when first text fades out i want the second text to fade in same line and the second text should stay. Here is my fiddle http://jsfiddle.net/st6rxwjr/1/
Here is my code :
<div class="text1 animated  zoomIn">Welcome to our site</div>
<div class="animated text2 bounceIn">Company Name</div>
CSS:
body { padding-top:30px;}
.text2 {
    display: none;
}
div {
    font-size:30px;
    font-weight:bold;
    text-transform:uppercase;
    text-align:center;
}
JS :
function fade() {
    $('.text1').fadeIn().delay(2000).fadeOut();
    $('.text2').delay(2000).fadeIn();
}
    fade();
 
     
    