Note that there are some explanatory texts on larger screens.

plurals
  1. POJQuery fadeIn issue
    primarykey
    data
    text
    <p>I have been given the task of converting a Flash animation to JQuery. This is what I am trying to get my Jquery code to do, here is the flash animation: <a href="http://www.thedesigncommonwealth.com/durangoSlideshow.html" rel="nofollow">http://www.thedesigncommonwealth.com/durangoSlideshow.html</a>. </p> <p>This is my Jquery looks like so far: <a href="http://www.lisa.netii.net/test-for-durango.html" rel="nofollow">http://www.lisa.netii.net/test-for-durango.html</a></p> <p>I'm working on the left side first, just trying to get this to work properly before moving on the the other side, the timing is very important between the two sides and I think my code so far may be able to handle that. There are a couple of obvious problems when viewing the Jquery version. To start with, I'm having trouble with the fadeIn effect. All the images except for the first one pop unto the screen, even when I use the .hide effect. I have tried using the .hide in each of the Jquery function lines for each div and it only seems to work for the first image, all the other images still just pop onto the screen.</p> <p>There's also a problem with the first slide. What's currently #slide2 in the html is supposed to be slide1, but for some reason the animation starts running on slide2 while nothing happens on #slide1, so I changed #slide1 to #slide2, but that is obviously not a good fix. I can take this a step at a time...</p> <p>Can anyone tell me what I can do to fix the fadeIn issue? Here is my Jquery code:</p> <pre><code>$("#slide1").hide().fadeIn(200).delay(3000).fadeOut(4000); var t2 = setTimeout(function(){ $("#slide2").hide().fadeIn(4000).delay(5000).fadeOut(4000); var t3 = setTimeout(function(){ $("#slide3").hide().fadeIn(4000).delay(10000).fadeOut(4000); var t4 = setTimeout(function(){ $("#slide4").hide().fadeIn(4000).delay(5000).fadeOut(4000); var t5 = setTimeout(function(){ $("#slide5").hide().fadeIn(4000); }, 6500); }, 11500); }, 6500); }, 6500); </code></pre> <p>To view the css and html see the jquery website link. </p> <p>Thank you so much for your help in advance!</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload