Metachecker.net
|
FontsMadeEasy.com
|
RankChecker.net
Learn Java Script Today
|
Over 5000 Free Fonts
|
Tutorials
|
Javascript Forum
|
Other Javascript Resources
|
Cheat Sheet
JavaScript Basics
Inserting Javascript
Complete Tutorial
Advance DHTML Tutorial
Script archive
Advanced Tutorials
Alert Scripts
Animation
Audio
Background Effects
Banner Ads
Browser Window
Buttons
Button Forms
Calculcators
Calendars
Clocks & Dates
Cookies
Cursor Effects
DHMTL Games
DHTML Miscellaneous
Equivalents
Forms
Games
IE4+ Scripts
IE5+ Scripts
Image Effects
Image Miscellaneous
Links & Buttons
Math Related
Messages Miscellaneous
Miscellaneous
Mouse Tricks
Navigation
Page Details
Password Protection
Pulldown Menus
Random Stuff
Scrolling
Status Bar
Text Animation
User Detail
User Info
Window Control
Random Link Generator
The will take you to any random link specified by the author. Note: you can also do random images and files.
CLICK HERE
Insert into <HEAD>
<script language="JavaScript"> <!-- Hide from old browsers function picklink() { var linknumber = 4 ; var linktext = "nolink.html" ; var randomnumber = Math.random() ; var linkselect = Math.round( (linknumber-1) * randomnumber) + 1 ; if ( linkselect == 1) {linktext="YOUR LINK GOES HERE" } if ( linkselect == 2) {linktext="YOUR LINK GOES HERE" } if ( linkselect == 3) {linktext="YOUR LINK GOES HERE" } if ( linkselect == 4) {linktext="YOUR LINK GOES HERE" } return linktext; } // End of script --> </SCRIPT>
Insert into <BODY>
<A HREF="" onClick="this.href=picklink()">CLICK HERE</A>
Other Options
To add more links, first change the number "4" in script that you put in the <head></head> part of your document to the number of links that you have. Then before the line "return linktext;" add if ( linkselect == 5) {linktext="YOUR LINK GOES HERE" } and change the numbers appropriately. For example, the next number would be "6" and so on.