Click here to break out of
my frame to view Source code.

JAVASCRIPT -- *28 FREE*


Last update 10/24/99.
View Source to grab the code.
Please religiously include copyright information. Thank you.

FADE-IN BACKGROUND
A fade-in for page load. Only shows for pages without a background. See source code for script.Difficulty: Easy.
CLOSE WINDOW without confirmation:
Standard button the page, but beware! It actually close the Window. Use it on a popup window. Difficulty: Easy.
CLOSE WINDOW with confirmation:
As above, but an alert message pops up. This can be very annoying for the viewer. Difficulty: Easy.
PASSWORD
This opens the page of the password. For example, password "blue" would open "blue.html". Simpy change the name of the page. Difficulty: Easy.
YES NO MAYBE
Allow the viewer to click any of three buttons and provide them with different popup alerts. When I think of an application, I will put it here, LOL. Difficulty: Easy.
Would you like to take this script?


NEW WINDOW
Pops open another window, usually used in conjunction with other code to fill up the new window with code information. Difficulty: Easy.
RADIO BUTTONS
Send your visitor to other pages, depending up which circle she clicks. Here, there is a VALUE in a variable for an email title. Cool! Difficulty: Easy. Go here to View Source to grab the code.
SEND BUTTONS
Send the visitor to other pages with buttons. Difficulty: Easy.

SEND BUTTONS same page
Or send him to a different place on the same page, such as "Top of Page". Difficulty: Easy. It's right on the bottom of this page.
NUMBER GAME
Simple guessing game illustrates (says www.infohiway.com) how JavaScript can capture keystrokes when you press a number -- no typing. Difficulty: Medium. Email to get the code!
MATCHING TEST
Make a matching test, perhaps at the end of a tutorial, for your visitors (from www.infohiway.com). Difficulty: Hard. View Source of MariaPia's Design Quiz to get the code!
CREATE A COOKIE
"A Cookie is a file residing on your disk which can be written to and read by your browser," begins www.webreference.com. (To circumvent this, email me.) Difficulty: Hard. Email to get the code!
FILL-IN-BLANKS STORY
Takes your input from form boxes and adds them to a story. Illustrates how Variables can be used by JavaScript.Difficulty: Hard. Go here and View Source to grab the code!
NEWS POPUP
A nice popup window that scrolls live news headlines on the Desktop. Keeps visitors busy :-) Difficulty: Easy. Go here and View Source to grab the code!
RANDOM QUOTES
Make up or copy some quotes and substitute them in this code. Your visitor nevers knows what to expect ... it makes your webpage a living thing. Difficulty: Medium. Go here and View Source to grab the code!
JUMP BOX
One way to keep a huge list of links out of the way. Only one line shows when the visitor does not activate the drop-down box. Difficulty: Medium.

SAFE COLORS
An excellent illustration of the looping ability of JavaScript, plus it has utility. Difficulty: Medium. Go here and View Source to grab the code!
SITE SEARCH
I searched really long and hard to find this simple code. It is without a doubt my favorite script. I am proud to share it with you. Difficulty: Medium. Go here and View Source to grab the code!
ALERT
This is the (annoying) popup message that you find on new sites, LOL. I used it here for my son to amuse his 13-year-old friends. Difficulty: Easy. Go here and View Source to grab the code!
GOOD MORNING
Pleasant script that uses the browser clock on the visitor's side to say Good Morning, Good Afternoon or Good Evening. Difficulty: Medium. Go here and View Source to grab the code!
REFERRER
Please email me what this code is about. My mind tells me it should output where the visitor came from, but it seems to say where they have arrived, which is incredibly silly. Difficulty. See code at bottom of this page.
HISTORY
Okay, email me about this one, too. It is supposed to read the browser history and report how many places the visitor visited prior to arriving at this site, but it always says "1". Hope you have better luck with it. Difficulty: Easy.
DATABASE
Searched long and hard for this one, too, though I can't quite figure out what to do with it yet. Let me know. Difficulty: Hard. Go here and View Source to grab the code!
COUNTDOWN
Countdown from today to any day! Simply change the date in the code. Difficulty: Easy.
Array on MOUSEOVER
Move your mouse over this graphic -1.
Move your mouse over this graphic - 2.
RADIO BUTTONS
Go to:
INDEX
WEDDING
Change PAGE COLORS
This playful script allows the visitor to interact with your site by changing the Background Color of the page. It uses MouseOver. Try it out here. Please view source code.
CHECK IT!
The Script in the HEAD and the OnChange Events check each entry in a Form for appropriate response (numerical, etc.). Pick up the code here.
* NEW * BOUNCING BALLS
A very clever Dynamic HTML gadget for a lifeless page. Try it here, courtesy here.
     

Referrer code: Thank you for visiting

.

.

.

.

.