[jQuery] jCarousel and Safari.

[jQuery] jCarousel and Safari.


Hi,
in the changelog of the latest version of jCarousel one lines reads:
"Fixed (hopefully) issues with Safari.". Since I can't find a online
repository of the code, I can't see exactly what the fix really did.
But my guess is the lines 188 to 192:
if ($.browser.safari) {
this.buttons(false, false);
$(window).bind('load', function() { self.setup(); });
} else
this.setup();
This solution requires the jcarousel to be loaded at parsingtime or
domready. In my app I have a getJSON-request, to fetch the data, and
then populate the DOM wit the appropriate nodes, and later initialize
the jcarousel. The lines above hinder the initialization of the
jcarousel in my app.
My temporary solution will be to get hold of the carousel-object,
which isn't straight forward (I have the need to manipulate the object
in other places in the app too), and then manually run setup() on it.
Good or bad idea?
Thanks!
/Glenn
PS: I'm stuck with jQuery 1.2.3, so if you Jan make a new relase,
please don't make it require 1.2.6 =)