
April 21st, 2007
08:10 PM
Neversidian
Status: Offline!
[prototype.js] sidebar disappearing in IE
Here's my test site: http://lushliving.sg/proto/listings/
I'm using Prototype's Ajax to update the Cart and do the form submit. Works in Firefox but in IE, my whole sidebar disappears.
The JS: http://lushliving.sg/proto/wp-content/themes/lushliving/js/cart.js
___________________
AEN DIRECT
Catalogue of Creative Works & Writings

April 23rd, 2007
01:02 AM
Neversidian
Status: Offline!
The strange thing is that when I call the function in the beginning
Event.observe(window, 'load', init, false);
function init() {
manageCart('display', '');
}
It works. The form submission also works. Only the add_item and remove_item functions that I call using onclick will cause the sidebar to disappear.
Hope someone who has JS knowledge can enlighten me on this.
___________________
AEN DIRECT
Catalogue of Creative Works & Writings