» home
» contact
» terms of use

FREE SCRIPTS
» new
» text
» image
» utility
» background
» animation
» date/time

FREE ONLINE TOOLS
» code generators
» text animator
» drawing animator
» color animator
» slideshow factory
» javascript speed test

FREE BASIC SNIPLETS
» alert box
» image: multi-rollover
» pop-up: centering
» more

FREE'N'CRAZY
» realtime death counter
» eyeQ
» fun ticker

RECOMMENDED LINKS
» www.dynamicdrive.com
» www.hotscripts.com

Surprise-Link: arouse the curiosity of your visitors.
Add our simple JavaScript surprise-textlink to your site to make it more exciting. A surprise-link is a simple textlink that changes its URL permanently (by random generator). The result: each time your visitor clicks on the surprise-link a different website will be opened. Easy configuration of URL. Crossbrowser: Internet Explorer 5x/6x/7x/8x, Firefox 2x/3x/4x, Opera 7x/8x/9x/10, Google Chrome 3x/4x.


Test surprise-link
Click on this surprise-link to see its effect. Click again and again to see the change of URLs.

Configuration

Step 1: Open your webpage. Paste the following code between
the <head> tag and </head> tag of your webpage (top of webpage):



Step 2: Open your webpage. Paste the following code between
the <body> tag and </body> tag of your webpage:



Step 3: Open your webpage. Go to the top of the script-code and set your favourite URLs for the surprise-links.