Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here


Microsoft: ASP (Active Server Pages) FAQ

ASP 101

How to create a Rotating Banner? by CDN
Posted: 17 Apr 02

<script LANGUAGE="JavaScript">

var numImages = 3
var allImages = new Array(numImages)
var i = 0
allImages[0] = new Image()
allImages[0].src = "newlogo1.gif"
allImages[1] = new Image()
allImages[1].src = "newlogo2.gif"
allImages[2] = new Image()
allImages[2].src = "newlogo3.gif"
allImages[3] = new Image()
allImages[3].src = "newlogo4.gif"
allImages[4] = new Image()
allImages[4].src = "newlogo5.gif"

function nextImage() {
  document.images[0].src = allImages.src
  i = i + 1
  if (i>=numImages)
    i = 0
  setTimeout("nextImage()", 4000)
setTimeout("nextImage()", 4000)
//Stop Hiding-->

Back to Microsoft: ASP (Active Server Pages) FAQ Index
Back to Microsoft: ASP (Active Server Pages) Forum

My Archive

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close