malsup/cycle — Issue #102: Slides sometimes don't display
Author: mindbodyheart09
Created: 2012-02-27 19:37:58+00:00
State: open

Greetings, if I refresh the page several times, the slide sometimes shows, sometime doesn't. I used FireBug on FireFox to see the code. It seems the code is OK. It happens randomly. Can you shed some light on it?

I'm using jQuery 1.4.3. There are some ways I use the script in a different way. I think I need to point out to help figure out the problem,

1) I use jQuery load to fill the

. From FireBug, it seems the

has been filled

2) I use jQuery.ajax to retrieve a json file from the server to control the slide. ( I'm sure the json file is healthy and retrieved successfully)

3) my thinking is if it could be possible that cycle() function gets executed before jquery.load even finish?

4) The code copied from FireBug is pasted below and I also put a color-marked image.

http://dl.dropbox.com/u/30587978/27-02-2012%202-31-08%20PM.png

Any help/suggestions would be greatly appreciated!