Results 1 to 3 of 3

Thread: Jquery Problem in IE7

  1. #1
    Join Date
    Apr 2012
    Posts
    85
    Thanks
    6
    Thanked 0 Times in 0 Posts

    Default Jquery Problem in IE7

    Tabs in the bottom are not working in IE7

    xhtmljunkies.net/Magento/XJ-ROBERT/a5-leaflets.html

    Can anyone please help?

    Thanks
    Kaushal

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    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:

    Code:
                    this.parentNode.addClassName('current');
    To carry out its intended functionality using jQuery, it should be:

    Code:
                    $(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.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #3
    Join Date
    Apr 2012
    Posts
    85
    Thanks
    6
    Thanked 0 Times in 0 Posts

    Default

    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

Similar Threads

  1. jquery problem
    By cristopher in forum JavaScript
    Replies: 0
    Last Post: 07-12-2012, 11:55 AM
  2. jquery problem
    By cristopher in forum JavaScript
    Replies: 1
    Last Post: 05-11-2012, 02:50 PM
  3. jquery problem
    By cristopher in forum JavaScript
    Replies: 3
    Last Post: 04-17-2012, 09:21 AM
  4. jquery problem in IE9
    By cristopher in forum JavaScript
    Replies: 1
    Last Post: 04-13-2012, 02:33 PM
  5. JQuery problem
    By The_Alligator in forum JavaScript
    Replies: 1
    Last Post: 06-23-2010, 04:20 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •