Results 1 to 2 of 2

Thread: Randomize

  1. #1
    Join Date
    Dec 1969

    Default Randomize

    Hey guys, how would i randomize through themes for a site. In other words i want it to be a different theme every now and again when people visit the site - I want it to random through 5 themes as follows:<BR><BR>Theme1<BR>Theme2<BR>Theme3<BR>Them e4<BR>Theme5<BR><BR>so it will them randomize through 5 strings as above then assign the random value to a variable to then load images/themes/&#060;%=variable%&#062;/

  2. #2
    Join Date
    Dec 1969

    Default Check the VBScript documentation..

    .. for Randomize and Rnd().<BR><BR>Assign the result of the Rnd() call to your variable and use that.

Posting Permissions

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