-
Notifications
You must be signed in to change notification settings - Fork 737
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Safari 5 and Chromium 7 never start the slide show #60
Comments
Could specify that a bit more. How do you exactly load jquery.jcarousel.js? I guess thats whats causing it. |
|
The problem here is that you load the jCarousel script with The reason for the browser sniffing is, that i was never able to initalize jCarousel correctly in Safari before I've added a patch to the current development branch where you can call the static function So, initialization goes like this:
|
Add static method to set windowLoaded to true manually (Closed by 8fd7f5f) |
version 0.2.4
I've tracked it down to the following lines:
http://github.com/jsor/jcarousel/blob/0.2.4/lib/jquery.jcarousel.js#L199-203
I've resolved the issue by removing the if-clause (browser sniffing):
I'm wondering why it was there in the first place and which browsers does/did it affect.
Details:
I'm loading the carousel script async after the load event and initializing it like so:
Before my fix,
initCallback
was called but neveritemFirstInCallback
.The text was updated successfully, but these errors were encountered: