Alphabetical Script Listing for 'B'

BG Effects: Animagix

A useful javascript toolkit for animations. With the demonstration, little geckos wander around this page with just four lines of code added to your page.

BG Fader

JavaScript can help your visitors better navigate your site - using "Back" and "Forward" buttons that act just like the buttons on your browser. Just click the button below.

BG Scroller

The background image is actually scrolled on the page. Wow!

BG based on Screen Resolution

There are times that you want to load different background colors/images based on a viewer's screen resolution. This script is perfect for this application. It works beautifully with IE and Netscape.

Back Button

Still wondering how to create a back button from a link or button? It's easy to do and doesn't even take a whole line!

BackGround Slide

This cool script slides the screen up then down and then right and left it's a pretty cool.This script that will definitely catch a few eyes.

Background Color Changer

Press any of the buttons to change the background color. You can add or delete as many colors as you like. Cool!

Background Color Changer 2

Input color codes, either as RGB numbers, or as a 6 character hexadecimal code, then test it to see how it will look on the page. Great for testing color schemes!

Background Color Chooser

Let the visitor choose the background color with a JavaScript prompt box.

Background Color-Change

Use this script to change the color of the page background from a link. Can be done by using a regular (clicked) link, or a mouseOver. Easy!

Background Music Switch

With this script, you give the user the option to choose if he/she wants music or not. The choice is now ours to make!


Use this snippet to add backward and forward buttons to your Web page.

Ball Drop

Click anywhere on the page and a ball will drop from the cursor and rebound several times based on gravity. Updated to be WC3 DOM1 cross browser compatible!

Bandwidth Calculator

Confused about the various units used to calculate bandwidth, and their equivalent in another unit? Use this bandwidth calculator to instantly figure it out! Just enter a number, select the unit of input, and this script shows its equivalent in the four standard units of bandwidth (Bytes, Kilobytes, Megabytes, and Gigabytes).

Banner Ad Rotator

Display two or more rotating banners (480 x 60) in an infinite loop. Banners also link to advertised URLs.

Banner Ads

Need to rotate banner ads on your site? How about doing it in JavaScript! This simple little JavaScript will print out a random banner ad each time your page is viewed. Awesome!

Banner Rotater / The JavaScript Source

Use this script to rotate your banner ads. Just set the images, URLs and the delay time. Very easy to implement.

Bar Clock

Display hours, minutes, and seconds in bars, also gives you hours, minutes, seconds, and complete time with AM, PM status. Great!


This is a very simple calculator, all done with javascript. Just click the numbers and the operators and use the "=" button to calculate! This is a neat example of the LIMITLESS (!) powers of JavaScript.

Basic Calendar

Nice calendar for Web page display. Highlights the date and the day of the week. Well-documented code to help you customize any font, color, or size you want. Internet Explorer.

Basic Clock

This clock continuously updates without the use of a text box. Easily position anywhere on your site. Cool!

Basic Color Cube

This creative script lets you choose the background color using a color cube. You can also do a reverse search using hexadecimal, RGB, or just the name of the colors. (07/25/2001)

Basic Date Display

Use this code snippet to display today's date on your Web page. (01/05/2005)

Basic Date Display 2

This script will display the month, day, and year, without the day of the week. Clean and simple. The display can be changed with CSS.

Basic JavaScript Quiz

Use this script to create quizzes for tutorials, online classes, or other subjects.

Basic Slideshow

This slideshow allows you to browse through the images manually or automatically. Easily customize this slideshow to fit your site!

Basic Validation

This is a simple method to require your visitors to fill out certain fields in a form. Just add the word "required" to each required field's name and your visitor must fill it out to submit the form.

Basketball Scoreboard

A JavaScript version of the scoreboard in a basketball game. This one fulfills FIBA requirement , except for the measurements, with some extras.

Battleship / The JavaScript Source

Enter into a naval battle against your computer. But watch out, your adversary is not stupid!

Beat Counter

A manual Beats per Minute (BPM) counter for DJs. Counts the beats-per-minute of a song by tapping a key or the mouse to the beat of a song. Simply click on the page to start the time then tap any key to the beat. Cool!

Best Price

Calculates the total cost of an order based on the number of items you want to order. As the total number increases, the cost per item decreases. Neat!

BetterCalculator 1.2

A calculator with memory screen, built-in help screens, and new window function.

Bi-Directional Resistance Calc

Calculates resistance from colors and colors from resistance, each with image-based output. Both color and numeric interfaces function as input and output.

Binary Clock

Ever seen binary code? You know, the series of 1's and 0's. This clock actually displays the time in the same binary format. Definitely something cool to put on your site if you are a programmer. ;-)

Binary Converter

Computers read and store the decimal numbers we see everyday (1, 5, 10, 100, etc.) as binary numbers, a number of just 1's and 0's. All that you do is enter the decimal number and the script will output the binary equivalent! It is a binary converter!

Binary to Decimal

This simple Javascript will convert a base 2 binary number into a base 10 decimal number, and vice versa.

Bitmap/Object Script

This script demonstrates the use of bitmasking to store values in a single variable and how to use objects with JavaScript.

Bitmap/Object Script

This script demonstrates the use of bitmasking to store values in a single variable and how to use objects with JavaScript. (11/03/2007)


Play even the classic game of Blackjack in JavaScript! (You might also know it as "21") The object of the game is to get the closest to 21. If you get higher than the dealer without going over, you win! Good luck, and don't gamble. ;-)


This script allow you to quickly blink the background. With a click of a button, the background changes from white to blue and back several times to return to white.

Blinking Text

This script is a simple layer based javascript that blinks any text. The script can be used to catch the attention of the user. The blinking speed can be adjusted by the variable blink_speed. Only works in MSIE.

Blinking Textbox Effect

This script will place the cursor in a designated textbox, causing its background to blink a specified color for a pre-determined amount of seconds. This will highlight the textbox on the Web page in order to draw attention to it.

Block Key Press

Tired of customers using characters that could possibly render your forms useless? This script prevents a user from entering certain special characters in designated form fields.

Blocking JavaScript Errors

Place this simple script in the head of the page to block JavaScript errors. This can be useful for sources other than your own that may contain errors (i.e. ad banners or automated news feeds).


Use this script to dynamically place a citation link after any blockquotes on a page. Use it as many times on a page as necessary.

Blur Text Script

No it's not your eyes going bad, it's the blurred text. This script creates an eerie aura around your text.


I like this script because it uses some very ingenious JavaScripting techniques. into the process, it analyzses a persons information (sex, height, weight) and responds with a comment message.

Body Mass Index

Just enter your height and your weight, and JavaScript can use a formula created by the Panel on Energy, Obesity, and Body Weight Standards to figure out your Body Mass Index. This index classifies you into one of several categories, from underweight to desirable to obese.

Boinger Window

Launches a popup window that continually switches back and forth between two settable sizes. The cycle time and location are settable and may switch back and forth in the timing cycle. Cool!

Bold Links

This script will cause a link to appear in bold type after it is clicked. Good for frame navigation, as well as anchors on a page or in a div. Easy to use.

Bookmark Page

A cross-browser bookmarking script that not only works in Internet Explorer but also Firefox. Other browsers will get an alert message telling them how to bookmark the page.

Bookmark Reminder

Pops up the "Add to Favorites" bookmark window once a week, or after a predetermined number of days. Firefox/Netscape users are given an alert message to remind them to bookmark the site.

Bookmark Us Script

This handy bookmark-this-page script automatically grabs the page title and url, so you do not have to manually set variables for each page for these values.

Bookmark Us!

(Internet Explorer Only) Allow your visitors to click one text link to quickly and easily add your site to their "Favorites." Don't let your visitors lose you because they forget to bookmark your site! (Netscape Users won't get any errors, but instead of the bookmark link, see a message reminding them to bookmark the site)


Let your visitors bookmark any page on your site, then re-visit that page from a list of bookmarks on your home page. Lets your visitors have a list of favorites only particular to your site.

Born On Date

In place of the boring 'Last Updated' script, you can use this script. It does everything and more - it gives the page title, the day the page was last updated, and if the page has been updated since the visitor's last visit all in a cool little table!

Born Which Day?

I'm sure most of you are curious about what day of the week you were born. This script will tell you exactly that - in a nice layout, as well. Now, you know.

Born on This Day

Find out what day of the week you were born on. Can be customized to add other factors also.

Bouncing Image

Randomly bounces an image, or anything within a DIV, across the page. Click on the image to start and stop it from moving. Cool!

Box Message

Text Effects a message in a textbox. When the user clicks in the box, however, the scrolling text is stopped and the box can be used normally.

Box Puzzle

(Internet Explorer Only) Move the squares using the arrow keys to get them in the correct order. Fun! (11/14/2000)


Box-in is a cute single player game made completely in JavaScript.

Breadcrumb Links

Breadcrumbs show the path to the current page and allows the visitor to link to any of the pages along that path. This script will build those links automatically. Highly customizable.

Breadcrumb Trails

The script creates the breadcrumb hierarchy based on the directory tree. Let your visitor's know where they are on your Web site.

Break Frames

If a visitor comes to your site and is looking through frames, this script will automatically make the page 'break out' of frames. As an added bonus, it's only 8 lines of script!

Break Out

This is a JavaScript version of Break Out. Keep the ball bouncing and try to clear the entire field of blocks. Cool!


Here is an interesting use of JavaScript, deal a hand of Bridge! Each time you load the page JavaScript will "deal" a new hand to four players. Very neat!


(Internet Explorer Only) Create a browser window within an existing browser window. Allows you to uniquely provide custom links and navigation. Awesome!

Browser & Version Redirect

If you maintain separate pages for Netscape and Internet Explorer browsers and want to additionally divide each browser's page into version pages, this script is for you. The script will create a link (or can be changed to automatically redirect) to browser[version number].html. (For example, a visitor with Netscape 4.5 would be see a link to netscape4.html)

Browser Info

This cookie records the visitor's name and writes the name, along with the visitor's browser information to the page.

Browser Information

If your visitors are not quite sure the details of the browser they are using, you can show them with this neat little script. The script will produce a table that shows the browser name, version, platform name, and whether Java is enabled . Updated!

Browser Information

This script does a great job of displaying information about your web browser including version, your computer's platform, if Java is enabled, how many pages you've visited, and screen resolution. Take a look, it's pretty cool.

Browser Name

I always like to show the visitor a little bit more about their computer than just the name. This script does that for me, or you. :-)

Browser Properties

More information about the web browser than you knew existed! Find out the code name, color depth, platform, if java is enabled, resolution, ip address, hostname, and more! Simply incredible.

Browser Version

This script will also provide a little bit more information about the visitor's browser. Check it out!

Browser Version

Unlike the previous browser information scripts, this one supports Netscape 6 and Opera browsers!

Browser-Correct Download Instructions

Download instructions are almost always given specifically for the IE browser on the Windows operating systems. This script will detect the user's browser and give the correct download instructions. Covers IE, Firefox, Netscape, Opera, and Macintosh.

Browser-Specific Entry

If you maintain a different page for Microsoft Internet Explorer and another for Netscape browsers, you should use this script. Quite simply, it sends the right browser to the right browser-optimized page.

Bubble Sort

Sorts using the bubbleSort method. Simply enter a list of numbers into the text box and click sort.

Build TOC

This script will automatically build a table of contents based on the header tags found on the Web page. Includes an optional access key [Alt-t] to return to the ToC. IE only.

Butterfly Text

This script creates a pattern for eight sets of words to follow as the mouse moves around the screen. This is a little different than those other scripts. Pretty neat! IE only.

Button Mania

A simple but addictive "set all buttons to 0" game. Should work in any CSS-aware browser.

Button Mania 2

Check out this simple but addictive set-all-the-buttons-to-0 game. If you can count to three, you're good enough. Higher levels are, of course, a bit more of a challenge. This final version has a clean look and works in most any browser.

Button Text v1.0

This script lets you click a button & see the text inside that button, as more text appears the button gets larger.

Button Ticker

This is a cross browser javascript button ticker that ticks a number of messages on a button.You can change the direction in which the message ticks. (i.e the order in which the message ticks).

Button Time

Here is a pretty neat way to show what time it is - in a little button! When the page is loaded, JavaScript will show a little button with the time! Check it out!


Visitors can create custom and unique 'buzz' phrases using JavaScript. They may click the Buzz button or, customize the buzz phrase with a personal buzz term.

Byte Converter

Use this script to convert bytes, kilobytes, megabytes, and gigabytes. Quick and easy to use.


The DevEdge Archive, a strategic alliance formed by America Online and Sun Microsystems, Inc., is delivering iPlanet e-commerce software and enterprise solutions that enable companies to compete successfully in the Net Economy