2 Replies Latest reply on May 26, 2010 8:32 PM by lizard81288

    so how do you do a random page with JS?

    lizard81288

      i found this:

      http://javascript.internet.com/navigation/random-page.html

       

      i copy/pasted it to my head. i replaced the:

      page[0]="first-random-page.html";

       

      with one of my pages, so it looks like this:

      page[0]="categories.html";

       

      but when i press F12, i get file not found.

       

      so how do you do this? i thought it was a copy/paste thing, but it doesn't work

      :/