views:

252

answers:

2

Hi,

I have a small issue with jQuery on Safari (Mac OSX 10.6) - the page loads fine under Firefox (Mac) and Internet Explorer (Win) but has to be refreshed to work properly in Safari...

http://7souls.co.uk/store/index.php?dispatch=products.view&product_id=29788

If you hover over the image it is meant to show a magnified version to the right hand side - which works on the first page load on all browsers except Safari on the Mac.

You have to refresh the page to get it to work under safari.

Any Ideas,

MM

A: 

this could be a wild stab in the dark, but i've had this sort of behaviour before, and found it was related to jquery and other javascript not playing nicely. you can try

 jQuery.noConflict();

to see if that fixes your problem.

benpage
A: 

Correct me if I'm wrong, but it looks to me like the function is trying to add bindings to a DOM object that does not exist. The command reads:

$.runCart('C');

Your script attempts to add bindings to an object with this passed in name. Since there is no object 'C' in the document there will be no bindings made. I'm thinking you meant to use something more on the lines of:

$.runCart('#product_images_29788');

This properly identifies the object on the left side that contains your product image.

(I could be wrong here as it does appear that you may have modified the page to serve some other purpose since your original post.)

JoeFlash
Joe,The $.runCart('C');was/is used by the cart system made by cs-cart to setup all of its javascript - I never thought of running that with the image variable passed to it...And, yes you are right I have altered the pages to use the standard lightbox as the cart producer wanted more than the cart cost itself to alter the functionality to use the jqZoom plugin !
mmuller