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






Time Picker with child window This JavaScript code - date picker helps you choose a time through a popup window. Perhaps this feature is not new on JavascriptBank.com, but you can customize this calendar control code to create new effects that require the controls through another window page.

Note: please enable popup (and ActiveX if you use Internet Explorer) to run this calendar script properly.


Category: Time, Clock

Crawling Content This JavaScript code do not use MARQUEE tag but features & actions are similar to this tag, meaning you can make some page content that continuously move by the four directions, stop moving on mouseover,... With this code, almost you only use JavaScript to install a "MARQUEE" for dynamic content. The web contents are simply defined as normal HTML, contained in a DIV element with a unique ID attribute.


Category: Scrollers

Multilevel Dynamic Menu A JavaScript code to build the multi level menu on your web pages, each item has a icon for itself; this script works on all poppular browsers, but more beautiful in Internet Explorer because it uses filters in engine of this browser for performing fade effects.


YUI - Yahoo! User Interface Library As the name says, this is a strong framework for building richly interactive web applications using techniques such as DOM scripting, DHTML and AJAX. It is a set of huge pre-built utilities, along with full documents, so the size of download package is quite big. YUI is available under a BSD license and is free for all users.


Category: Framework, YUI

MooTools: a Compact JavaScript Framework MooTools is a compact, modular, Object-Oriented JavaScript framework designed for the intermediate to advanced JavaScript developer. It allows you to write powerful, flexible, and cross-browser code with its elegant, well documented, and coherent API.


Category: Framework, MooTools

jQuery: a new kind of JavaScript Library Maybe jQuery is the most popular framework, because jQuery is a fast and concise JavaScript Library that simplifies HTML document traversing, event handling, animating, and Ajax interactions for rapid web development. jQuery is designed to change the way that you write JavaScript. And this is framework that jsB@nk used from Web version 7.0 (?).


Category: Framework

getElementsByClassName Deluxe Edition JavaScript language does not provide us a function for obtaining elements by class, only by id, name, and tag name. This JavaScript snippet will accomplish that, and includes optional arguments with defaults and support for multiple classnames in any order. It works in Internet Explorer, Firefox, Opera, Safari and Mac.


Category: Snippet

Hate IE Notification If your visitor is using Internet Explorer as their browser, this script will politely suggest Firefox as an alternative browser, maybe your users will remove IE like you; it is not windows notification, browser alert only. Just add it to the head of your page. Very simple!


Category: Snippet

Gas Cost Calculator Do you ever wonder how much you must pay for fuel/gas in a year? Use this simple gas cost calculator to find out how much you spend or calculate fuel/gas costs, cost average monthly and annually. In addition, this calculator will also compute the miles per gallon (MPG) for your vehicle.


Category: Utility

Browser Sniffer Script (ver 1.1) This browser sniffer detects all the major browsers currently out there, and passes the results on as variables to facilitate your browser detection needs. It differentiates between Windows, Mac and Linux, and the most commonly used DHTML browsers - IE4/5/6, Netscape 4/6/7/other Gecko, Konqueror 2.2+, Safari, Opera 5/6/7. All other browsers are grouped together under a single exclude variable, to protect them from complex scripting.


Category: Snippet

JavaScript by day


Google Safe Browsing McAfee SiteAdvisor Norton SafeWeb Dr.Web