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.
. |
.
|
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.
. |
Disabling
The MyImage Toolbar in IE6+
IE6+ incorporates a new feature called MyImage Toolbar, which, if
enabled on Tools|Internet Options, provides the user with a popup
menu over images that allows the user to instantly save, print, or
email any image in a page. This technical note shows how to disable
or enable this feature. Helps stop image theft.
. |
Floating Email-This-Link Script With URL Auto-Capture
This script creates a floating layer that with an email-this-link script
in it. The layer can be positioned anywhere on the screen, and it will
float to that position whenever the window is scrolled. Enter the recipient address and click the send button, and the visitor's email
client is opened, complete with a message in the email body that includes the link for whatever page in which the script is placed.
. |
Invoking
The SaveAs Dialog From A Web Page
Visitors can save a web page from a link using this script. IE4+
browsers provide a document.execCommand that can call certain system
dialogs. This script demonstrates calling the SaveAs dialog to save
the page. The script includes onload interlocking and alternate
alert messaging for non-IE 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.
. |
Print
Page from Different Frame
This simple-to-use script is ideal for use in frameset designs, where you want to have a link in one page in the frameset print out the content from a page in another frame. The function can print from any frame in the frameset (that is, from one or more frames).
. |
Screaming
No-Right-Click From Hell
A memorable experience for Internet Explorer users who
right-click on your page -- this script opens a popup that flies
around the screen, screaming. Worse, you cannot shut the
screamer up without following a specific instruction. (Default
behavior for non-IE browsers also included.) Very easy to
install, the script comes as a download kit with simple
instructions, sample code, and sound file included.
. |