Acmlm's Board - I2 Archive - Programming - Random Hyperlink HTML Code
User | Post |
FreeDOS
Posts: 668/1657 |
If you have PHP scripting support, check out the rand() function...
Otherwise, look for JavaScripts |
Emptyeye
Posts: 841/2273 |
I don't think it's something you can do with simple HTML. Maybe with JavaScript or PHP or something similar.
Conceptually, you would assign each URL a number from 1 to 30, have a link that randomly picks a number between 1 and 30, and goes to a URL based on that number.
Bringing this from concept to completion is where I'd have the trouble. |
jmr
Posts: 40/149 |
I remember reading how to do this a while back, but I just can't remember where!
I want to make a hyperlink that will randomly go to one of 30 pages. I remember that you had to create a text file with all of the URL choices, but that's all I remember... can anyone refresh my memory? |
|