Thread: Javascript help
View Single Post
Old 12-05-2008, 05:49   #6 (permalink)
emil
dt immigrant
 
emil's Avatar
 
Join Date: Nov 2004
Location: Bucharest - Romania
Posts: 6,817
Send a message via ICQ to emil Send a message via MSN to emil Send a message via Yahoo to emil Send a message via Skype™ to emil
.
Quote:
<head>
<title>JavaScript Animations</title>

<!-- here we use an external .js file, just like external css but with the .js extension. -->
<script src="animation.js" type="text/javascript">
</script>


</head>
<body >
<h2>Workshop 10 - Example of a JavaScript Animation</h2>
<p><img src="0.gif" name="mypic" border="0" alt="digits" />
</p><p>
<a href="javascript:startShow()">Start Animation</a> <br>


<!--a hint: add one more line here like the one above but calling a Stop script is all you need-->

</p>
</body>
</html>
__________________
  Reply With Quote