Guest, register

Looping alerts on right click Implement this JavaScript to warn visitor if they want to steal something on your web pages with clicking right mouse. When they click right mouse the first time, this JavaScript will show a short alert; if they still click again, this JavaScript will run out the loop of alerts; then they can only exit your web pages by breaking browser.

Category: Funny

Name Capitalization This JavaScript will adjust capitalization of names (actually, the content of any form field you apply to it) so the first letter of each word is capitalized and the rest are lowercase. This is so easy to implement!

Category: Form, Textarea

Crossbrowser Drag Handler Ever wanted to drag an element or image around on your Web page? Just attach this drag handler to any number of elements on the page and you will be able to drag them all. Note that the elements must be positioned either relatively or absolutely.

Category: Utility

SmartTables - Sortable Sheet Color alternate rows, sort rows and columns in ascending or descending order, all by just adding a className. Easy to use!

Category: Form, Table

Image Caption - Surrounding Text With the help of this script, adding text to accompany images could not be easier. Give your image a "title" -- how appropriate -- and a className, and in a few seconds you will have beautiful looking captions for your images. And, you can use HTML elements.

Category: Image

Text Input Masker This script uses Prototype library - unobtrusive JavaScript to implement "input masks". The maximum field length is automatically limited to the length of the mask. The characters that are entered into the fields are constrained, and separators are automatically added. (No actual validation is done. Check our site for validation scripts.)

Category: Form

Copy to Clipboard using Flash On the Internet in general and JavaScript in particular, there are many codes and tools to help your visitors copy text directly into the clipboard without through the browser or operating system. However, most restrict of these code are they only run on Internet Explorer, so you try to use this effect, it uses a Flash file to convert and perform the copy to the clipboard.

Category: Form

Smarter Dynamic Select Options Let use this multiple select script if you want to create select boxes that relate to anothers, by onchange event. Choose a value in the first select options and the script will precess and display the available select values in the second box to match your selection automatically. Easy to use, with full comments in source code.

You can also see more for multiple select, dynamic dropdown,...

Category: Form, Dropdown

Time-based Progress Bar This is a fully customizable 'time based' progress bar. Set any duration (ie: 10 seconds) for the script to finish loading the bar. A great script to provide graphical countdown to any action that involves a delay before execution.

Category: Browser, Page effect

Ghostpage: your text will be haunted Something rather weird happens on your webpage: after loading the texts start changing its colors in a creepy way continously! Is this witchery? Is this the frightening cyberghost haunting your screen? Or is it just a little bit DHTML-magic? You decide (and then call the ghostbusters, please).

Category: Funny

JavaScript by day

Google Safe Browsing McAfee SiteAdvisor Norton SafeWeb Dr.Web