I’m having a slight problem with this one, so any suggestions would be appreciated.
I have three picture gallery pages and an index page. When you click on an image on the index, a random page of the three galleries should load.
I’ve written the script OK (I think) - there’s an array of the three pages, and a quick function to determine the random one. I’ve assigned an onClick() to the image in question, and used a call Javascript action to call my random function. But whenever I click the image, it doesn’t load up a gallery page.
I’ve attached the .htm file for people to look at. If you can see what’s up with it… The random functions are in the <head> and the call is near the bottom of the page. :block: