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






DIV Layer Popup onClick This JavaScript helps you open floating layer popups. The layers alway stay on top, allowing your visitors to work in the main window while still being able to view the content of popups. The window popups stay in the same place, even when the user scrolls down the page. It also works with image maps.


Category: Browser, Popup

Page Index This is an incredibly simple script. It pulls each H4 element and creates a clickable index to it. It stuffs the headings it finds in a division named indexDiv and if it didn't find any H4 tags it will even make the indexDiv invisible. You can also change it to use any other heading element.


Category: Menu, Navigation

Opening New Windows When using strict doctypes the target attribute is not allowed for opening new windows. This JavaScript will accomplish that task easily and unobtrusively. The script uses the class name "non-html" so you will need to add that to the links you want to open in a new window, e.g., <a href="yourDocument.html" class="non-html">A sample file</a>

This JavaScript will not open a new window if a modifier key (ctrl/shift/etc.) is pressed while the JavaScript link is clicked. It also checks if the new window was successfully opened. If it was not, it returns true to allow the browser to open the JavaScript link in the original window.


Category: Snippet

Multi Value Drop Down List Using a drop-down menu, this script will provide different values, depending on the user's selection. Easily added to any form.


Category: Form, Dropdown

Menu Simplified 2 Add a simple JavaScript menu to your site with this dropdown form. Easy to use and customize.


Category: Form, Dropdown

Web with Matrix background Another script to make matrix effect on your web page. This JavaScript use two characters, 0 and 1 to make matrix, and first character of each column is strong. Very simple to use and modify.


JavaScript Crossfader A cool script to make your content fade on the web page. Object-encapsulated unobtusive JavaScript crossfader, no need for a js library. Browser Compatibility: IE, FF, Opera, Safari. Very easy to use and modify.


Category: Text, Fade-Glow

Highlighter Ticker 2 Highlighter Ticker 2 scans and highlights any message character by character. When done underlines it. Adjustables: Speed, Size, Background. Blinker 3.0 blinks any number of messages/images. Adjustables: speed,pause,size,background & number of blinks. Pauses while mouse is over.


Category: Text, Karaoke

Make link open in new tab/window Use this simple JavaScript to make all links on your web pages open in new tab/window. Script is easy to setup, you should save them into a file to for using on many pages.


Category: Link

Inner Popup with Cookie With this JavaScript, you can create a section to show marjor info on your website like popup, but this JavaScript use JavaScript and JavaScript cookie to show popup once. Popup will display in center of window and will scroll, but this popup has a close button for closing it.

You can change your content in div_iPop var.


Category: Browser, Popup

JavaScript by day


Google Safe Browsing McAfee SiteAdvisor Norton SafeWeb Dr.Web