[SOLVED] JS error with IE6 and IE7

Change your online store into modern look with myStore eCommerce VirtueMart Joomla template - discussion forum.
GK User
Tue Nov 02, 2010 10:28 am
Hello,

I'm currently developing a bookstore website and adapting myStore template. When I try to load the page with IE6 or IE7 it shows that there is an error:
Line: 298
Char: 2
Error: Object doesn't support this property or method
Code: 0
URL: http://eugrimas.lt/v2/index.php

Could you check it out and give me a hint what could be wrong?

I believe this error is from gk.script.js and this function:

Code: Select all
document.body.addEvent("click", function(e){
      if(login && !login_over){
         login_fx.start(0);
         hlogin_fx.start(0);
         login = false;
         $('btn_login').removeClass("popup");
      }
      if(register && !register_over){
         register_fx.start(0);
         hregister_fx.start(0);
         register = false;
         $('btn_register').removeClass("popup");
      }
      if(cart && !cart_over){
         cart_fx.start(0);
         hcart_fx.start(0);
         cart = false;
         $('btn_cart').removeClass("popup");
      }
   });
User avatar
Fresh Boarder

GK User
Mon Nov 08, 2010 7:09 pm
Please try change document.body to $(document.body) in this script
User avatar
Administrator

GK User
Tue Nov 09, 2010 4:19 pm
The problem remains. Could you look at my website via IE7? http://www.eugrimas.lt/v2
Thanks in advance :)
User avatar
Fresh Boarder

teitbite
Tue Nov 09, 2010 6:42 pm
Hi

I got the answer from the programmer:

Code: Select all
Problem wil be fixed in the monday update
User avatar
Moderator

GK User
Wed Nov 10, 2010 8:18 am
Okay. Thanks. Awaiting monday :)
User avatar
Fresh Boarder

GK User
Thu Nov 11, 2010 5:00 pm
I've upgraded my template to 2.0.9, but there's still an error with js. Will this be fixed on monday?
User avatar
Fresh Boarder

GK User
Thu Nov 11, 2010 5:08 pm
which error ? I've checked your website on IE7/8 and I haven't seen any errors O.o
User avatar
Administrator

GK User
Thu Nov 11, 2010 5:14 pm
I'm using IEtester for these tests. After Ctrl+F5 it seems to be ok. The cache in the tester is disabled, but somehow it has managed to cache the script :D Thanks ;)
User avatar
Fresh Boarder

teitbite
Sat Nov 13, 2010 11:40 am
Hi

IE tester has false me a lot. Please see if this error appears on the browser itself.
User avatar
Moderator


cron