Software
Java
JavaScript
Delphi
HomeJavascript

JavaScript: Alerts and Prompts

Alerts and Prompts
Access Control By Screen Size
With an increasing number of standard screen resolutions in use, it's often necessary to do separate designs for each. Use this script to control access and redirect to separate pages based on 640, 800, 1024, or larger screen sizes. The script includes optional alert messages, which can be enabled or disabled via a script variable. Thorough instructions are in the script, and set-up is easy.
.
Ask Visitor For Name Script
Personalize your 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. Very easy install for JavaScript newcomers.
.
Amazing Draggable Layer - Use Instead of Popups
This script implements a draggable layer that can be used much like a popup window... but without the usual focus problems that popups often imply. Also included are simple controls to show or hide the draggable layer. Compatible with NS4-7 & IE.
.
Auto-Sizing Image Popup Window Script
Use this script to launch a popup window that automatically loads an image and resizes itself to fit neatly around that image. The script also places a title you set in the titlebar of the popup window. Any number of images can be launched from a single instance of the script.
.
Basic No-Right-Click Script with Alert Box
Causes an alert box to be triggered when the visitor right-clicks on the page with the mouse.  Provides simple, though limited, protection of images, etc.
.
Bookmark This Page 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.
.
Make This Page Your Homepage Script
Opens the Set Homepage dialogue in IE 5 and later browsers, allowing your visitors to set your page as their homepage.  Degrades gracefully in browsers that do not support this feature.
.
No-Right-Click Script Opens Popup Window
Use this script to launch a popup window whenever the right mouse button is clicked. Useful for limited protection of page code and images; and the popup window can contain whatever fulmination on human morals you wish to deliver.
.
Copyright 2001 - 2012 by CodeFoot.com and OECCorp.
The 2012 Evolution™


LegalPrivacyCodeFoot.com is an OEC InterNET Group site.SupportNotices
CodeBrain.com BrainCode.com CodeFoot.com CodeBelly.com CodeLifter.com
PopUpWorks.com Droiddd.com etLux.com OECCorp.com
TrayApps.com DavidSosnowski.com MicroTicker.com