![]() |
| Register | Login | |||||
|
Main
| Memberlist
| Active users
| ACS
| Commons
| Calendar
| Online users Ranks | FAQ | Color Chart | Photo album | IRC Chat |
|
| | |||
| 0 user currently in Programming. | 3 guests |
| Acmlm's Board - I2 Archive - Programming - Random Hyperlink HTML Code |
| | ![]() |
| Add to favorites | "RSS" Feed | Next newer thread | Next older thread |
| User | Post | ||
|
jmr Paratroopa Level: 21 Posts: 40/149 EXP: 44421 For next: 5522 Since: 03-16-04 From: Newfoundland, Canada (aka the middle of FRICKIN' nowhere) Since last post: 4 hours Last activity: 3 days |
| ||
| 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? |
|||
Emptyeye![]() Real American Level: 67 Posts: 841/2273 EXP: 2488421 For next: 104451 Since: 05-24-04 From: I DUNNOOOOOOOO!! Since last post: 9 hours Last activity: 4 hours |
| ||
| 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. |
|||
|
FreeDOS Lava Lotus Wannabe-Mod :< Level: 59 Posts: 668/1657 EXP: 1648646 For next: 24482 Since: 03-15-04 From: Seattle Since last post: 6 hours Last activity: 4 hours |
| ||
| If you have PHP scripting support, check out the rand() function... Otherwise, look for JavaScripts ![]() |
| Add to favorites | "RSS" Feed | Next newer thread | Next older thread |
| Acmlm's Board - I2 Archive - Programming - Random Hyperlink HTML Code |
| | ![]() |
