Reply LinkBack Thread Tools Search this Thread
Old 21-04-2007, 15:00   #1 (permalink)
Aen
i love MUJI
 
Aen's Avatar
 
Join Date: Mar 2007
Location: Psedo Tokyo
Posts: 158
Send a message via AIM to Aen Send a message via MSN to Aen Send a message via Skype™ to Aen
[prototype.js] Sidebar disappears in IE

Here's my test site: Listings » Lush Living

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-conten...ing/js/cart.js
  Reply With Quote
Old 22-04-2007, 20:02   #2 (permalink)
Aen
i love MUJI
 
Aen's Avatar
 
Join Date: Mar 2007
Location: Psedo Tokyo
Posts: 158
Send a message via AIM to Aen Send a message via MSN to Aen Send a message via Skype™ to Aen
The strange thing is that when I call the function in the beginning

Code:
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.
  Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search


Contact Us - Web Design Forums - Archive - Top
Search Engine Optimization by vBSEO 3.0.0 RC8