View Full Version : animatedcollapse not working on Linux

04-09-2010, 05:54 PM
Script Title: animatedcollapse with jquery.min.js


I have been using the animatedcollapse script on a Windows box without issue. I recently ported the script to a Linux box. While the error occurs in jquery it appears to be from the animatedcollapse script because it is an exception throw error. Is there any recognized issue porting these two scripts to Linux? Thank you

Upgrading jquery to the latest release changed the error location in the file.

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Trident/4.0; GTB6.4; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; MSN Optimized;US; InfoPath.2; MS-RTC LM 8; MSN Optimized;US)
Timestamp: Fri, 9 Apr 2010 17:16:03 UTC

Message: Exception thrown and not caught
Line: 74
Char: 921
Code: 0

04-09-2010, 08:40 PM
The OS of your server shouldn't matter, as JavaScript is a client side language; what matters is just the output of the page. Please post a link to the page on your site that contains the problematic script so we can check it out.

04-19-2010, 03:15 PM
Unfortunately I can't send the link. It is on an intranet that is unaccessible to the outside world.

I tested Javascript with an external js file to prove Javascript is enabled and also that it can read the js file located in another location. I also tried it sitting locally where the HTML is found.

I also used the same code that worked perfectly on a Window's box.

It looks like there error is at this location

throw "Syntax error, unrecognized expression: " + expr;

The block looks like the following;
// Improper expression
if ( expr == old ) {
if ( anyFound == null ) {
throw "Syntax error, unrecognized expression: " + expr;
} else {

04-20-2010, 02:49 PM
Consider it fixed. There was originally a Javascript access issue but I also created my own problem. The program I wrote created an empty set that did not happen in my Windows version. It forced the collapse to start in an open position and created the Javascript error.

:o FYI - It does not like rel="toggle[]"

<td><a href="#" rel="toggle[]" data-openimage="collapse.jpg" data-closedimage="expand.jpg"><img