PDA

View Full Version : Countdown 2 timer being turned into a js



srb6101
01-19-2005, 02:26 PM
http://www.dynamicdrive.com/dynamicindex6/dhtmlcount2.htm

i attempted to use the countdown script as an external script and it did not work. is there a reason that it wouldnt?

i saved the script as a .js file in the same directory as the webpage and then called it using <script counter.js>

</script>

and nothing happened except the backround appeared

will it work as an external script or because of the way it interacts with the iline it has to be coded in the html file

Stephen

cr3ative
01-19-2005, 04:41 PM
To link to it, use this.

<script src="script counter.js" type="text/javascript">
INSERT FULL DYNAMIC DRIVE COPYRIGHT NOTICE HERE FROM ORIGINAL SCRIPT
</script>

cr3ative

srb6101
01-20-2005, 12:39 AM
thanks i forgot the text/javascript part