problems with jquery rotator in HTML module
Last Post 06/18/2010 7:24 PM by Joseph Craig. 1 Replies.
Author Messages
Em_Jane
Nuke Newbie
Nuke Newbie
Posts:3


--
06/18/2010 3:31 PM  
I am using a modified version of a jquery image 'tator.  Everything appears correctly on the page, except that it's not rotating.  I have it set to a 9sec. interval and have noticed that at that 9 second mark, an error message pops up in the Javascript:

***error message***

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; GTB6.4; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.2; MS-RTC LM 8; .NET4.0C; .NET4.0E)
Timestamp: Fri, 18 Jun 2010 20:28:22 UTC


Message: Array length must be assigned a finite positive number
Line: 464
Char: 5
Code: 0
URI: https://Mysitename.com/Portals/0/Skins/Flex%20-%20Menu%201%20-%20Blue/lightbox/js/prototype.js

***end error message***

It seems to be conflicting with a script in my skin(?)

Any help or suggestions on what to investigate would be very appreciated.


Joseph Craig
DNN MVP
Posts:11667


--
06/18/2010 7:24 PM  
If you know javascript or jQuery, you can use developer tools in IE or Firebug in Firefox to try to trace that calls and debug the code. Essentially, you'd need to see what is triggered and what is called. You could set a breakpoint in the code that gets fired when the timer expires and then step through the code.

Joe Craig, Patapsco Research Group
Complete DNN Support


---