google+javascriptbanktwitter@js_bankfacebook@jsbankrss@jsbank
Guest, register






Multilinks Sometimes you want a single hyperlink to lead to several pages and present a dynamic JavaScript menu when clicked. This is usually done through an intermediary page. This JavaScript will provide a dynamic JavaScript menu by creating an absolutely-positioned DIV tag on the fly, which will contain the list of links.


Category: Link

LiveEdit Preview your code live, as you enter it. Supports most HTML/CSS tags. Excellent for previewing Web site designs.


Category: Utility, Generator

Limit Characters and Words Entered This JavaScript will allow you to limit the number of words and/or characters entered into a form. Easily customizable. Example script will limit input to either 80 characters or 16 words, whichever comes first.


Category: Form, Validation

Highlighting Link 2 Make your rollovers more noticeable! This JavaScript colors your clickable links on rollover.


Category: Link

Global Time Zone (Japan=1am JST) Pick a country 'from' and a country 'to' get the time difference. Then, enter a time in the window and the time changes to the correct value in other country. The trick was with a +: I needed to use -(a*-1); because strings add each other!


Category: Time, Clock

getXML Obtain the contents of an XML element and convert it to text. This script is great for using with Ajax-type applications, when it's neccessary to send back the contents of an element to the server without knowing what's there.


Category: Snippet

Fly-Out Textbox Use this JavaScript to display several sections of text in a small area. Degrades nicely.


Category: Text

Filler Text on Demand Append filler text on demand through functional links added via JavaScript. Very useful in Web page design layout.


Category: Text

eMailing Selected HTML Text This JavaScript is an easy way to copy and email selected html text that is on a web page. You can set this up as a Favorites item in Internet Explorer to make it simply to be able to do the emailing! Just highlight text on a page and then click the favorites link. The hightlighted input text will be placed in an email from your default mail program, ready for you to add a name and send!


Category: Email

Dynamic Timed Redirect Redirect the user to a different Web page after a designated number of seconds, while displaying a countdown in the document title representing the number of seconds left before redirection.


Category: Snippet

JavaScript by day


Google Safe Browsing McAfee SiteAdvisor Norton SafeWeb Dr.Web