Alert Box
|
|
Here is a simple JavaScript example which will generate a simple alert box based on clicking a link or a form button. Useful for alerting users for missing fields, displaying a message on document open or close, or informing users they’ve clicked a link, etc. |
All browsers flying in message box
|
|
This script will make a box with your message fly in over the screen, stay where you want it to, then dissapear after a certain amount of time. |
Amazing Alert Box with Shadow and Transition Effects
|
|
Forget about browser ugly alert box, create your own alerts with animated button, graphics border and transitions. |
Ask Visitor for Name Script
|
|
Personalize your web page with this very simple paste-it-in script that asks the vistor for his or her name when entering your page, then prints a "Hello" welcome message anywhere you wish in the body of the page. (If the visitor does not type in a message, a default message shows, instead.) Very easy install for JavaScript newcomers. |
Automatic Bookmark Script
|
|
This handy bookmark-this-page script automatically grabs the page title and url, so you do not have to manually set variables for each page for these values. |
Bookmark Me!
|
|
This JavaScript uses an onUnload function to prompt the user to bookmark a page while exiting a page. It's a simple script but is a nice introduction to the onUnload function. |
Bookmark This Site
|
|
In Internet Explorer, When you click on the 'Bookmark Us!' text link, Explorer's Add Favorite dialogue automatically pops opens, inviting your visitor to add your site to their bookmarks. Also note that the status bar (MSIE 4+) will show the 'Bookmark Us!' text message when you mouseOver the link. In all other browsers, only a message appears, and no action takes place when it is clicked. |
Check Answer Twice With Prompt
|
|
This JavaScript prompt users for an answer, and check the input twice before stating (s)he is wrong. |
Confirm Alert Box
|
|
The author notes, "The JavaScript confirm alert box differs from a regular alert box in that it provides two choices for the user, OK and Cancel. Typically, you’ll see confirmation boxes utilized on links where the destination is outside the domain of the page you’re currently on or to alert you of potentially objectionable material. The following example will display a confirmation alert box when either a link or form button is clicked. Once either OK or Cancel are selected an alert box will follow to display which was chosen." |
Confirm Test With Results Computed
|
|
This JavaScript allows you to have a test run using confirm alerts to have the user enter in TRUE or FALSE for each question. The results are computed and then given (via a popup) to the user. |
Cut-and-Paste Bookmark This Page Script
|
|
Cut-and-paste script automatically opens the Favorites dialog in IE browsers to bookmark your page on the visitor's favorites list. (Degrades gracefully for NS and other browsers with a text message.) |
DHTML Ad Box
|
|
This DHTML ad script displays an "inexcusable" box in the middle of the page, broadcasting ads of your choice inside. The box automatically disappears after x seconds, with its display frequency configurable. |
DHTML Announcement Box
|
|
Use this custom DHTML "widget" to uniquely present new or notable pieces of information to your visitors. The interface is cross browser compatible, and can be dragged/ hidden freely by the user. |
Drop down informer
|
|
A simple and compact informer where you can write help text, instruction and any other information. |
JavaScript Alert Box
|
|
Simple-simon stuff, huh? Bet you never thought it could be so easy... |
Javascript Domain Whois
|
|
Do you frequently look for the availability of domain names? |
JustQuick PopUp
|
|
A simple javascript combined with a style sheet to personalize your popup-messages. Place the javascript at the bottom of your HTML-page. It works with IE5.5+. |
Random Quote Alert
|
|
This JavaSscript allows you to display an alert with a random quote selected from a set of 10 when the viewer clicks a button. You can easily assign any alert messages to the script. |
Say goodbye
|
|
This script allows you to display an alert box to thank your visitors for visiting or ask them to visit your partners. |
Say welcome
|
|
This JavaScript displays an alert box to your visitors to welcome them on your site or to suggest them to visit your partners' sites. |
Tigra Hints
|
|
Tigra Hints is free JavaScript widget that displays pop-up box with notes (also known as tooltips or hints) when mouse appears over any HTML element on the page. Any HTML is welcome inside the box: lists, tables, images etc. This component makes the sit e more informative and easy to use while saving valuable space. |
Warning
|
|
This script displays an alert box to your visitors if their browser configurations (navigator and resolution) are not the best for viewing your site. |