Fun Javascripts

Choose the script you want from the table and follow the instructions to simply insert it into your page.
  1. Break Free of Frames
  2. Status Bar Scrolling Messages
  3. No Rightclick Script
  4. Cursor Trailer
  5. Falling Stars

**PLEASE NOTE: The permission has been gained in writing from both of the authors or the "snow effect script" and the "cursor trailer" in writing to feature their scripts on this page. All others are anyonymous and contain no copyright laws.**

Break Out of Frames

NOTE:This doesn't work if you use frames yourself

Tired of your page getting stuck in someone else's frames when they link to you? Just cut and paste the script below straight into your HEAD section. All it does is load up a new page automatically if the script senses it's in a frame. Voila! <center><p><a href="examples/frames.txt" target="_new"> <img src=icons/clickhere.gif border=0 width=203 height=77></a></font></font></font></b></center>
Status Bar Scrolling Messages

This script is very popular, and allows you to place a scrolling message on the browser's location bar (the grey bar at the bottom.)

Insert the script into your HEAD section.

To change the message, on the second line of the script retype what you want between the " ". To change the speed of the message, on the 11th line, change the number, the smaller the figure the faster the message (it's set to 150 at the moment).

<center><b><a href="examples/statusbar.txt" target="_new"><p> <img src=icons/clickhere.gif border=0 width=203 height=77></a></font></font></font></b></center>


No Rightclick Script

To stop people stealing your pictures and source code by rightclicking and saving them, this script displays a pop-up alert when a person right clicks on something

Insert the script into your HEAD section.

To change the alert text, retype your message on the 4th line. <center><p><a href="examples/rightclick.txt" target="_new"> <img src=icons/clickhere.gif border=0 width=203 height=77></a></center>
Cursor Trailer -script by Brian Caputo (bcaputo@icdc.com)

This is a cute script which attaches a little star to your cursor that follows you everywhere.

**Click here for a demo to see what I mean**

First you need the images for the star, save these 6 pictures into your folder:

 
 
 
 

Next paste this code straight after the <BODY> tag. <center><p><a href="examples/cursorscript.txt" target="_new"> <img src=icons/clickhere.gif border=0 width=203 height=77></a></font></font></font></b></center>
Falling stars -script by Altan d.o.o. (snow@altan.hr)

Have you ever seen websites with little images that float around the screen? Here's a similar version with yellow stars that fall down your page :)

Save the picture into your folder:


 
 
 

Now click on the link below and paste the code after the <BODY> tag.

<p><center><a href="examples/snow.txt" target="_new"> <img src=icons/clickhere.gif border=0 width=203 height=77></a> </font></font></font></b></center>

BACK TO TOP