There are many javascript online resources for code that will enable you to improve the presentation and navigation of Web pages.

Included here are a few we consider standards that are stable with popular browsers. Additional resources follow our selected examples.

#1
A " double click" on the page will return you to the top.

Cut and paste this script into the HEAD of your file:

#2
A "PopUp Window" with choices of attributes.

1st Step.
Cut and paste this script into the HEAD of your file:

2nd Step.
Cut and paste this script in the location you wish to call for the PopUp window.
You may insert an image in the place of text (click me).

#3
"Close Window onBlur", is a feature that most will appreciate if you are using PopUp windows. After a PopUp window opens and the visitor "clicks" in an area outside the PopUp window, the PopUp window "closes" automatically. This precludes a residue of PopUp windows which most of us don't like to deal with. Once a Popup widow has served its purpose, "BAM!" its gone. All you need to do is include the following script within the <body> tag of the HTML of the PopUp window.

Example:     <body onBlur="self.close()">

#4
"Close a Frames Window", very useful for PopUp windows that are a frameset.

Cut and paste this into the BODY of any file in a frameset and it will close the window
containing the frameset. Note: Text can be replaced with a button or other image.

IMPORTANT: This script ONLY works on windows or framesets that were initially opened with javascript code. Though some browsers will react to all, it is best to stick to the rules.

#5
A "Menu Hop" with a "go" button.

Cut and paste this into the BODY of the file where you would like for the menu to appear.
Add option values as needed.

#6
"Target a Frame Window from a Remote".

1st Step:
Cut and paste this script into the HEAD of the targeted file.
This enables the javascript in the remote to identify the targeted frame.

2nd Step:
Cut and paste this script in the file for the remote(PopUp) window.
You may insert an image in the place of text(Your Title).

#7
Display a text message in the status bar about an anchor tag.

Cut and paste the following script into the BODY of the file where you would like
the special anchor tag display. Avoid punctuation marks in the text string.

<a href="thedocument.html" onmouseover="window.status='Text to be displayed appears here'; return true">Name, Title or Image</a>

#8
"Recommend a page". This feature provides visitors to your page the opportunity
to recommend your page or site to others. As a javascript it doesn't require
the server-side support that perl scripts must have.

1st Step:
Cut and paste this script into the HEAD of the targeted file.
This enables the javascript in the remote to identify the targeted frame.

2nd Step:
Cut and paste this script in the file for the Web page you wish to promote.


The end result is shown here.

Recommend This Page
Enter an email address

CODE GENERATORS FOR JAVASCRIPTS

DropDown Menu Generator

PopUp Window Generator

Preload Images & Rollover Generator

 

RESOURCES FOR JAVASCRIPTS

Javascript Resource
Excellent resource for all types of scripting for Web develoment.

Java Boutique
Old faithful, one of the original resources of emerging javascripts.

Javascript Kit
Includes a broad list of Script categories.

Thanks for stopping by