PDA

View Full Version : JavaScript Error on Home Page



BruteForce
06-18-2007, 07:09 AM
Seems there is a problem with the count down ticker. Throws the following error:

Runtime error

Line: 896
Error: Invalid character

This is line 896:
countdown_clock(7, 8, 1, 16, 0, 3675000, 6, \'\');

I would assume the last parameter (\'\') is causing the problem as it is expecting either a 1 or 0 (based on looking at the included JS and the PHP example on their site). If you're trying to fall back to default, try nothing (no characters) or a value greater than 1.

KillJoy
06-18-2007, 07:11 AM
Works fine for me.

KillJoy

Bluerauder
06-18-2007, 07:12 AM
Seems there is a problem with the count down ticker. Throws the following error:
I don't have a problem with the Countdown Ticker ... seems to be working and displaying properly to me.

BruteForce
06-18-2007, 07:18 AM
Countdown ticker is displaying fine. Never said it wasn't. By default, ALL web browsers are set to ignore script errors and move on.

My browser(s) is/are set to warn of any and all script errors as it is part and parcel of my work (building web sites).

So... it works but it is incorrect. I thought maybe the person who is managing that might want it to be correct.

MM03MOK
06-18-2007, 08:21 AM
Should be all set now. Thanks, Scott!

BruteForce
06-18-2007, 09:33 AM
Should be all set now. Thanks, Scott!

At your service m'lady. :type: