Well OK, there's nothing jumping out at me. I do see that simpleCart has:
Code:
window.onload = simpleCart.initialize;
If magnify has anything similar in an on page script you haven't shown, or requires an onload event in the body tag of the page(s) using it, there would be a conflict there. Can you give me a link to a page where the two scripts are 'not playing well together'?
In any case though, I'd try this first - change (in simpleCart.js - at the end):
Code:
window.onload = simpleCart.initialize;
to:
Code:
if (window.addEventListener)
window.addEventListener('load', simpleCart.initialize, false);
else if (window.attachEvent)
window.attachEvent('onload', simpleCart.initialize);
If it's an onload conflict with magnify, this will resolve it.
Bookmarks