I've been having lots of problems with jCarousel as relates to page
loading and $(document).ready.

I made a circular gallery with 10 visible images. Sometimes it would
load with only one image, sometimes the divs were the wrong size, and
the scrolling wouldn't work.
Problem was, it seemed very timing dependent and even alerts in the
code would slow it down enough that it would not load wrong, while
being observed (like a Schrödinger's Bug or something).

I found that the fix in the code that binds safari to window.onload is
necessary for FF3, also. In jcarousel you find a line

if($.browser.safari){
       //binds initialization to window.onload
}

I removed this, and safari would load with the same problem as FF
every time. So, adding ||$.browser.mozilla to that conditional fixed
the loading bug (which I guess is a FF3 problem with jquery's document
ready?).  So, since there is a fix in the code for this issue and
Safari, I don't know why you're having the problem., but I hope this
helps.  I also had this problem with a custom widget I made from
jcarousel-Lite, which I fixed in a similar way - just ran it with
window.onload directly instead of one of these fancy dealies.

Reply via email to