views:

46

answers:

2

http://steph.net23.net/work.php here is my test link. This page has a jquery script in it that adds a class to the first image. This works in all browsers except Chrome. It's like it adds it and then the image disappears. Anybody know why?

A: 

Might have something to do with the Galleria script you are using. It uses browser detection that specifies Safari (jQuery.browser.safari) when it should be jQuery.browser.webkit (which both Safari and Chrome use). What's more Firebug gives the following message:

The jQuery team recommends against using jQuery.browser, please try to use feature detection instead (see jQuery.support).

That script looks to predate Chrome so it probably isn't properly handling it in a number of ways. Unless you know how to fix it I'd recommend looking elsewhere for a more up to date plugin.

gaoshan88
Tried changing safari to webkit. that didn't work
Catfish
A: 

I eventually found the answer here. It was hard to find resources b/c when you google the galleria plugin the url is broken for the galleria home.

Catfish