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






Applying border & opacity to images onMouseover in CSS This JavaScript will apply border and optical to images onmouseover by using CSS.


Category: Snippet

Image Swap Swap images using this short, sweet, and easy to edit script! The images are swapped using a MouseOver technique.


Category: Snippet

Scaling image accord to Window size Use JavaScript to Scale an Image According to Window Size Sometimes you need to resize an image according to the window's size. You can do this by setting the image width and height as 100 percent inside the <img> tag. IE then resizes the image according to the window's size.

You can also do this with JavaScript, using document.body.clientWidth and document.body.clientHeight. These return the active window width and height. On_Load sets the image width and height. When the window is resized, width.history.go(0) refreshes the page.


Category: Snippet

Watermark Background Image Use this JavaScript to give your web documents a static background image that does not tile, and always remains visible in the background, even when the user scrolls the document. Degrades well with all browses.


Category: Snippet

Thumbnail A very simple, one line image enlarger. Nice and neat!


Category: Snippet

Image rollover effect for your links The beauty of this dynamic image rollover effect for your textlinks is that you need no JavaScript and DHTML at all. Easy to configure.


Category: Snippet

Input Box Comments Display a few words in a form field and when focus is given to the field, the words will disappear. Great for providing instructions in a small space.


Category: Snippet

Locked Textbox Prevent your visitors from modifying the value stored in a textbox (without using input type=hidden) Just try to change the text in the box! Amazingly, it's a short less than one line script!


Category: Snippet

All Upper Case Converts a textbox entry to all capital letters as soon as they move to the next item in the form (or click the submit button).


Category: Snippet

All Lower Case Converts a textbox entry to all lowercase letters as soon as they move to the next item in the form (or click the submit button).


Category: Snippet

JavaScript by day


Google Safe Browsing McAfee SiteAdvisor Norton SafeWeb Dr.Web