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






Auto Month This pulldown JavaScript menu will automatically adjust the range of months so that the current month is at the top. The remaining months are placed in order after the current month. The JavaScript menu still functions with JavaScript turned-off.


Category: Time

Digg Button Generator Looking for an easy way to add Digg buttons and links to your Web pages? The instructions given on the Digg Web site can be a bit tedious. Use this generator instead, to make it easier. You can place it on your site for others to use also. The image file contains Digg buttons to put on your Web site or blog, which can also be customized for your site, using the included Photoshop file.


Category: Utility, Generator

Worth your Weight in Gold Does your self-worth appear low? Do you feel under-valued? Perhaps for specific reasons or a variance of them, this calculator code will cheer you up! Extrapolate your weight and yearly earnings for an evaluation via properties of gold, and hypothetically a heart of gold for integration. The calc. also gives a home price for a lucid estimate when looking for an affordable client-side residence.


Category: Utility

Email Obfuscator and Encoder Email harvesting is a real problem nowadays; publishing an email address on a web page means exposing it to automated email collection softwares. Once it's been collected, there no way of getting rid of spam.

The best way to avoid this is to obfuscate and encode email addresses; this simple JavaScript does exactly that. It splits an address in six different parts, so that bots are not able to recognize it, and it also encode the @ symbol and the . (dot) using ASCII codes, just to make it harder for bots to decode it. Even if the email harvesting software can read JavaScript and put the different parts of the address together, it would obtain an useless text like this: my-email-address@my-domain-name.com instead of myaddress@mydomain.com.


Category: Email

Automatic Breadcrumbs This JavaScript will automatically build a "breadcrumb" navigational JavaScript link to any page on your Web site. This allows your visitors to see exactly where they are on your Web site at an given time. Very easy to implement.


Category: Menu, Navigation

Autofill and Select Form Fields When testing forms you don't need to keep filling in the different fields. Use this function to automatically fill-in input blocks and select values in the form for you. Very easy to use.


Category: Form

Simple Auto-Complete This is a JavaScript custom object that uses an array assigned to an input text box. It will fire on the onkeyup event and read from the array and act accordingly. It is very simple to use.


Category: Form

Agree Before Posting Sometimes you may need to make sure your visitors agree to specific terms before submitting their comments. This JavaScript will disable the input fields until they agree to your terms. Easily adaptable.


Category: Form, Validation

Adding Options 2 Add or change options on a form select menu. This JavaScript will also allow sub-group items, for additional selections.


Category: Form, Dropdown

Add to Favorites This small script will launch the browser Favorites window to bookmark the current page. Works in Firefox and Internet Explorer.


Category: Browser

JavaScript by day


Google Safe Browsing McAfee SiteAdvisor Norton SafeWeb Dr.Web