Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3317612
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T22:36:28+00:00 2026-05-17T22:36:28+00:00

I have a number of Jquery plugins being called through my Drupal Acquia Marina

  • 0

I have a number of Jquery plugins being called through my Drupal Acquia Marina theme .info file.

They work fine in all popular browsers with the exception of IE6 and IE7, in which they don’t appear to load at all.

Some of the plugins are very basic, like the following slidetoggle, which like all of them, exists as a a .js file referenced in a .info script call –

   $(document).ready(function()
{
  //hide the all of the element with class msg_body
  $(".collapse-content").hide();
  //toggle the componenet with class msg_body
  $(".collapse-head").click(function()
  {
    $(this).next(".collapse-content").slideToggle(400);
  });
});

Another is even more simple –

$(document).ready(function()
{
$(".principal-input").hide();
}
);

The others are a slightly adapted version of the jstree nested list tool, a tablesorter and two variants on collapsible checkbox/radio trees.

I’m at a loss as to how to further trouble-shoot the problem without firebug-type diagnostic tools, but am assuming that these scripts aren’t loading at all, as there is no behavior visible.

The only error I get in either IE6 or IE7 is

Line: 3 
Char: 3 
Error: Object doesn't support this property or method
Code: 0

I’ve rattled through the code and don’t think that is likely that all plugins are suffering from the last comma of death (http://stackoverflow.com/questions/2562736/jquery-ui-accordion-degrades-in-ie6-or-ie7-but-is-working-in-ie8).

One exception is the TinyMCE plugin, which still functions with IE6 and IE7.
Given the density of the TinyMCE code and my lack of experience, I haven’t been able to work out why TinyMCE is unaffected. It is called from the .info file in the same manner.

It is entirely possible that this has little to do with Drupal, and is an issue with Jquery alone, but any opinion on why this might be happening would be appreciated.
Thanks,
William.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-17T22:36:28+00:00Added an answer on May 17, 2026 at 10:36 pm

    After using IE8 developer tools and running in IE7 mode, I was able to pinpoint the issue.

    Tablesorter was throwing an error that stopped all my other plugins in their tracks.

    Line 24 of jquery.tablesorter.pager.js reads

    top: o.offset().top + o.height() + 'px',
    

    Removing the ending comma solves the problem. Tablesorter (and consequently all other plugins loaded after) now function in IE6 and IE7.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a number of macros written for Visual Studio 2005, but they have
I am trying to get jquery validate to work on multiple fields. Reason being
We manage a site for a medical charity. They have a number of links
I'm working on a project were we have number (5 at the moment) of
I have a number of tracks recorded by a GPS, which more formally can
I have a number of application settings (in user scope) for my custom grid
i have a number of jsp files under web-inf folder. Inside my web.xml i
I have a number of data classes representing various entities. Which is better: writing
I have a number of code value tables that contain a code and a
I have a number of tables that use the trigger/sequence column to simulate auto_increment

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.