Hi,
I have sort of a fadeover slideshow, of 3 different div's, which keeps
switching by fading and appearing.
All is nice, and it works quite well, besides the last iteration -
The 3rd and last div fades, instead of the first div to appear slowly
like the others, it just pops right out, disturbing the nice flow
created by the last 2 divs.
Link:
http://www.lizard-club.com/mitzva
code:
 function fadeOver ()
{
 new Effect.Fade('ctl00_LizardContent_tblAttraction1', { queue:
{scope: 'fadeovers', position: 'end' }, delay: 2 });
 new Effect.Appear('ctl00_LizardContent_tblAttraction2', { queue:
{scope: 'fadeovers', position: 'end' }});
 new Effect.Fade('ctl00_LizardContent_tblAttraction2', { queue:
{scope: 'fadeovers', position: 'end' }, delay: 2 });
 new Effect.Appear('ctl00_LizardContent_tblAttraction3', { queue:
{scope: 'fadeovers', position: 'end' }});
 new Effect.Fade('ctl00_LizardContent_tblAttraction3', { queue:
{scope: 'fadeovers', position: 'end' }, delay: 2 });
 new Effect.Appear('ctl00_LizardContent_tblAttraction1', { queue:
{scope: 'fadeovers', position: 'end' }});
}

for (var i = 0; i < 5; i++) setTimeout ('fadeOver ();', 1000);

Thanks a lot,
Elad


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Spinoffs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to