12-05-2008, 05:49
|
#6 (permalink)
|
|
dt immigrant
Join Date: Nov 2004
Location: Bucharest - Romania
Posts: 6,817
|
.
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>
|
__________________
|
|
|
|