Register | Login
Views: 19364387
Main | Memberlist | Active users | ACS | Commons | Calendar | Online users
Ranks | FAQ | Color Chart | Photo album | IRC Chat
11-02-05 12:59 PM
0 user currently in Programming. | 3 guests
Acmlm's Board - I2 Archive - Programming - Random Hyperlink HTML Code
  
User name:
Password:
Reply:
 

UserPost
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?
Acmlm's Board - I2 Archive - Programming - Random Hyperlink HTML Code


ABII


AcmlmBoard vl.ol (11-01-05)
© 2000-2005 Acmlm, Emuz, et al



Page rendered in 0.008 seconds.