Simple Animation
Posted by Zareef in
JavaScript on 11 20th, 2011 |
Comments Off
Making an animation using JavaScript is simple. Here is a script for moving an image right. Save image after naming ‘arrow.jpg’ in server root. Save this file ‘arrow.html’. Click start to animate image.
<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”>
<html...