View Full Version : Jquery Problem in IE7
round
02-07-2013, 11:51 AM
Tabs in the bottom are not working in IE7
xhtmljunkies.net/Magento/XJ-ROBERT/a5-leaflets.html
Can anyone please help?
Thanks
Kaushal
jscheuer1
02-07-2013, 02:51 PM
There could also be other problems. This is the error I'm getting:
SCRIPT438: Object doesn't support property or method 'addClassName'
organictabs.jquery.js, line 24 character 17
The addClassName method is non-standard. In the browsers where it works, it's probably inherited from some other code on the page using the Element or Object prototypes. IE 7 doesn't support the Element or Object prototypes, in any case it's not getting that method. But jQuery has it's own method for that, and that method is supported in IE 6 and later. Here's the line:
this.parentNode.addClassName('current');
To carry out its intended functionality using jQuery, it should be:
$(this.parentNode).addClass('current');
Using a text only editor like NotePad, make that change to the organictabs.jquery.js file. Use that version. This change shouldn't hurt other browsers.
The browser cache may need to be cleared and/or the page refreshed to see changes.
round
02-08-2013, 09:36 AM
You are great Js. :)
Thank you very much for your reply. My problem solved.
Canyou please tell me why myriadprobold.eot error comes? & Why FB Like is having problem in all browsers? I am not able to get FB likes properly. Actually it is not displayed at all.
Thanks
Kaushal
Powered by vBulletin® Version 4.2.2 Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.