I just configured a slider in a Drupal 7 test site using the Drupal modules Views Slideshow & Views Slideshow Cycle (v. 7.x-3.0-alpha1). The modules, like many Drupal modules, use jQuery for their functionality.
The slideshow works well in most browsers, but IE8 & IE8+compatibility mode generate the following error (only on the page w/ the slides). The slideshow itself doesn't work in these browsers. Errors for both development & minified shown:
-
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; .NET4.0C; .NET4.0E; BRI/2)
-
Timestamp: Fri, 23 Sep 2011 20:06:50 UTC
-
Message: Exception thrown and not caught
-
Line: 16
-
Char: 14229
-
Code: 0
-
URI:
https://ajax.googleapis.com/ajax/libs/jquery/1.5.2/jquery.min.js
-
---------------------------------------------------------------------
-
Webpage error details
-
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; .NET4.0C; .NET4.0E; BRI/2)
-
Timestamp: Fri, 23 Sep 2011 20:18:55 UTC
-
Message: Exception thrown and not caught
-
Line: 978
-
Char: 15
-
Code: 0
-
URI:
https://ajax.googleapis.com/ajax/libs/jquery/1.5.2/jquery.js
The line in question in the development jQuery code appears to be:
-
finally {
-
fired = [ context, args ];
-
firing = 0;
-
}
I'm not getting this error on other pages that use jQuery, e.g., the accordion on my FAQ page.
Not sure if this is really a script problem or a Drupal problem, but based on the info I have I thought I'd try here first.
[edit] The script debugger shows this:
-
[cycle] options not found, can not advance slide
So maybe this is a Drupal configuration problem, after all.