Hello. I have finally figured out how to do a countdown, and it works when I test it out on a seperate HTML page. However, when I try and use it on the board, nothing happens. What I'm trying to say is that it works on a regular page, but not in eblah. If you need any specific information, please ask but I really need to know why this doesn't work.
|
Code
<script type=text/javascript src=http://mickeyfan.netfirms.com/countdown.js></script> <script> var rndNum = Math.floor(Math.random() * 10000); var tempString="June 28, 2004 7:00:00 AM EST;Off to Walt Disney World;RED"; tempArray=explodeArray(tempString,";"); document.writeln("<form name='form" + rndNum + "' action='java script:void(0);'>"); document.writeln('<font size=2 color="'+tempArray[2]+'">Days until next trip to Walt Disney World</font><BR>'); document.writeln("<input type=text value='' size=40 name='countdown' border-style='none' style='background-color:transparent; border-bottom: 0px solid; border-left: 0px solid;border-right: 0px solid;border-top: 0px solid'>"); document.writeln("</form>"); countdown(tempArray[0], rndNum, tempArray[1]); </script>
|
|
(Nothings wrong with the actual code) Michael |