Javascript- Slideshow Image

var image1=new Image()
image1.src=”http://hunghv/PublishingImages/newsarticleimage.jpg”
(script type=”text/javascript”)
var image2=new Image()
image2.src=”http://hunghv/Th%20vin%20nh/_t/setup_4_JPG.jpg”
var image3=new Image()
image3.src=”http://hunghv/_layouts/images/titlegraphic.gif”
(/script)

(img src=”firstcar.gif” width=”320″ /)

(script type=”text/javascript”)
var step=1
function slideit(){
if (!document.images)
return
document.images.slide.src=eval(“image”+step+”.src”)
if (step<3)
step++;
else
step=1
setTimeout(“slideit()”,5000)
}
slideit()
(/script)

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s