I am using the calender javascript found at: http://www.dynamicdrive.com/dynamicindex6/clock3.htm
The script requires me to include <body onLoad="goforit()">. The script runs fine if the script is inside of the actual file; however, when I put the script in an external file, the script fails to run and I get the error
"Object expected" at the <body onLoad="goforit()"> line.
I'm thinking this has to do with the fact the body can't find the goforit() function because it is in an external file. What would be the best solution to this problem other than including the script inside the file itself?



Reply With Quote


Bookmarks