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






Down To 1 The JavaScript runs through a sequence of numbers in the input box to gradually reduce the number to 1.


Category: Misc

Alert Box Protection Often when working on scripts alert boxes are placed inside loops as a debugging tool. You can sometimes end up with hundreds of alert boxes and no way to stop them. This JavaScript placed at the start of your code will give you an option to disable the alert boxes after a pre-determined number set by you.


Category: Misc

Customizable JavaScript Prompt This JavaScript is used to generate a customized prompt box. With the use of a timer function you can generate it automatically.


Category: Misc

Color Bar Using a mix of JavaScript and CSS, a fashionable table with cells that change colors can be added to any Web page. It uses document.write(); so make sure to embed it in a table.


Category: Misc

Unique Random Numbers This JavaScript will obtain three unique random numbers. Unique values range from 0-100.


Category: Misc

Validation (IP Address) Verify the value of an IP address. Check for special cases such as 0.0.0.0 and 255.255.255.255. Cool!


Category: Misc

WindowsXP Progressbar v1.2 This JavaScript simply displays a Windows-XP style progress bar on your page. The bar doesn't really do anything other than give your visitor something to look at while the page loads. Notice how the bar above stopped scrolling after the 4th cycle (refresh the page if you missed it)? More on this later.


Category: Misc

Timer Bar This JavaScript shows a progress bar used as a timer. You set the total time for delay. Then set the bar width, height, and colors in the .js code part and the bar "counts" up the amount of time you specified. Note: the script starts only once the page is fully loaded.


Category: Misc

xImgAsyncWait xImgAsyncWait asynchronously waits (and monitors the status) of newly created or static images. Can be called before or after window.onload, or in the HTML following the last IMG element. During monitoring of image load status, your status function will be called at each iteration. After all images successfully load, your app initialization function is called. If any image fails to load, your error function is called. You can provide error and abort images for those that fail to load.


Category: Misc

JavaScript by day


Google Safe Browsing McAfee SiteAdvisor Norton SafeWeb Dr.Web