Rotating tip

Results 1 to 2 of 2

Thread: Rotating tip

  1. #1
    Join Date
    Dec 1969

    Default Rotating tip

    What is a good way to get a different tip to come up on the page everytime it is loaded? Like has. I wrote a code to do it with random numbers. It generates a random number and then depending on what the number is, it displays that tip. This seems to take a long time processing, alot longer than that site. Is there a better way to do it?

  2. #2
    Join Date
    Dec 1969

    Default RE: Rotating tip

    Put all the tips into an Application value (as an array of strings) at Application_onStart in your global.asa file. Then simply randomly pick one of the strings from the array.<BR><BR>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts