| |
| |
This JavaScript shows a very simple example of how to create a button that does something JavaScript-like in nature when it is clicked. The alert() function is predefined: we could have made our own function and then called it upon the onClick event.
|
|
|
| |
| |
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.'
|
|
|
| |
| |
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.
|
|
|
| |
| |
Here's a quick and easy way to add MS Windows-style popup help boxes to your Web site. Many customization options are available.
|
|
|
| |
| |
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.
|
|
|
| |
| |
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.
|
|
|
| |
| |
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.
|
|
|
| |
| |
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.
|
|
|
| |
| |
Auto-prompt users to bookmark your homepage using this simple IE-only script! This script uses a simple browser detect which activates or avoids an alert box. This is a simple, yet effective use of this IE-only feature.
|
|
|
| |
| |
CodeThatForm PRO is the PROFESSIONAL version of the CodeThatForm package. CodeThatForm provides with the way to work with the layers so that they fully mimic the windows. Visual appearance of the windows (caption, work area, system buttons) and methods declared in the package offer the instant ability to create the popups, dialogs, forms within browser actual windows with the extremely hot look and feel. Script is proven to be working with the majority of browsers and comes with the examples of the implementation and the complete documentation.
|
|
|
| |
|