PDA

View Full Version : advance dhtml?


heybabe
12-04-2007, 02:23 PM
For this project you will find two images below that you will need name in order to complete this assign

Using these images and JavaScript, animate the images so that the pennant appears to be blowing in the wind. Use buttons to control the animation and JavaScript code to animate the images.

advrts_4_3
12-04-2007, 02:24 PM
make a image changer loop eg:
void imagechange()
{
String image = "1","2";
String 1 = "<img src='image_link'>;
String 2 = "<img src='image_link'>;

if (image == "1")
{
1;
image++;
}
else if(image == "2")
{
2;
image = 1;
}
}