Thursday, January 6, 2011

Walking Santa Claus jscript effect

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.



animatedImage



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>

Find more javascript effect step by step guides on this blog.


1 comment:

Anonymous said...

nice