INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Member Login

HANDLE


PASSWORD
Remember Me
Forgot Password?

Come Join Us!

  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • Turn Off Ad Banners
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

E-mail*
Handle

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

Partner With Us!

"Best Of Breed" Forums Add Stickiness To Your Site
Partner Button
(Download This Button Today!)

Member Feedback

"...I have tons of books, have book marked tons of tutorials, which have helped, but this forum has answered those "impossible to find" solutions. I am thrilled with this site..."

Geography

Where in the world do Tek-Tips members come from?

Microsoft: Active Server Pages (ASP) FAQ

ASP 101

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


<script LANGUAGE="JavaScript">
<!--Hide

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-->
</script>


Back to Microsoft: Active Server Pages (ASP) FAQ Index
Back to Microsoft: Active Server Pages (ASP) Forum
My FAQ Archive
Email This FAQ To A Friend

My Archive