A little and simple help required please

Discussion in 'jQuery' started by hallianonline, Jun 14, 2013.

  1. #1
    Hello
    I need a little animation on my websitewith jquery
    I have two text divs (Text 1 and Text 2) of same size now i want to animate them
    I want to display the Text 1 for 10 seconds and then it will fade out permanently and only display Text 2 permanently with Fadein function how it will be possible?
     
    hallianonline, Jun 14, 2013 IP
  2. HuggyStudios

    HuggyStudios Well-Known Member

    Messages:
    724
    Likes Received:
    20
    Best Answers:
    26
    Trophy Points:
    165
    #2
    HuggyStudios, Jun 16, 2013 IP
  3. ekim941

    ekim941 Member

    Messages:
    74
    Likes Received:
    7
    Best Answers:
    7
    Trophy Points:
    33
    #3
    Something like this:
    $(document).ready(function(){
    $('#text1').show().delay(10000).fadeout("slow");
    $('#text2').fadein("slow");
    });
    Code (markup):
    This isn't tested but it could serve as a starting point, hope it helps.
     
    ekim941, Jul 3, 2013 IP