a script that rotates different website or pages

Discussion in 'JavaScript' started by wishmaster22, Jun 16, 2006.

  1. #1
    Hi,

    I am looking for a way to have the index page change from one site to another.

    Example say I go to my site http://www.get-paid-at-home.com and my initial index pages comes up , now I want it to refresh to another index page on another domain the next time its clicked on or refreshed. How can this be done?


    Thanks
     
    wishmaster22, Jun 16, 2006 IP
  2. mad4

    mad4 Peon

    Messages:
    6,986
    Likes Received:
    493
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Set a cookie when the user first visits your homepage. At the top of your index page check for the cookie and redirect if it exists.
     
    mad4, Jun 16, 2006 IP
  3. wishmaster22

    wishmaster22 Banned

    Messages:
    135
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    That sounds way beyond my skills. How would this be done, and how would it direct to other index pages on other domains?

    thanks
     
    wishmaster22, Jun 16, 2006 IP