Jump to content
GreenSock

Samis

Members
  • Posts

    3
  • Joined

  • Last visited

Posts posted by Samis

  1. Hi!

    I´m using the simpledemo.html as a reference, and I´m having trouble when trying to use the same animation in two different elements, see code below:

     

     

    <div id="examples-1">
    <h2 id="fade-it">Fade It</h2>
    <h3 id="fade-it">Fade It</h3>
    <h2 id="spin-it">Spin It</h2>
    <h2 id="scale-it">Scale It</h2>
    <h2 id="smush-it">Smush It</h2>
    </div>
     
    Note that the first <h2> tag and the <h3> tag should both fade in, but it makes the whole file stop working. I know that Ids should not be repeated, but, how can I use Fade in animation more than once in the same file?
     
     
    Thanks in advance!
×