Here is a demo of moving image in HTML page. Picture of Santa Claus is animated and it go from left side of the screen to the right side. It is accomplished with javascript.
If you want to learn how to accomplish this moving effect take a look at a code:
<div id="animatedImage" style="position: relative;">
<img src="[PathToImageFile]" alt="animatedImage" />
</div>
<script type="text/javascript" src="[PathToJsFile]"></script>
- Just replace:
- [PathToImageFile] with santa file
- [PathToJsFile] with a jscript moving file
Find more javascript effect step by step guides on this blog.
ConversionConversion EmoticonEmoticon