Back to 12/96 On the Road With Java Script...Script and More Script
Up to Table of Contents
Ahead to 12/96 Cover Story: Best of Breed

Get a Jolt of Java

Many Web page developers use JavaScript to add functionality to their pages and to pump a little life into content that might otherwise be static. Here are some examples of pages that use JavaScript:

A good example of dynamic content is available at http://www.dannyg.com/javascript/res/resload.htm This page displays images of electronic resistors along with relevant resistance data. Enter the colors banded on your resistor, and this JavaScript draws the resistor's image with its color-coding and calculates its resistive value.

A JavaScript-based HTML editor is online at http://www.cris.com/~raydaly/hjdemo. shtml. Its buttons insert HTML tags into the text area.

Web pages with JavaScript calculators are also cropping up, including some creative ones. The 1040EZ tax calculator, http://www.homepages.com/fun/1040EZ.html, is a good example. As you enter the data for the form, the various fields are computed, and in seconds, you can see your tax status.

If you're shopping for a new car check out http://members.aol.com/imcomputnt/car_cost.htm and compute the monthly cost for a shiny new ride. Enter the base invoice price, the cost of your options, down payment, rebates, the finance rate and all other pertinent information. The calculator will figure out your monthly payments.

Calendars generated on the fly with JavaScript offer other interesting possibilities. For example, if you post a calendar of events on your Web pages, JavaScript may be the way to go. Look at http://www.geocities.com/SiliconValley/7116/jv_cale.html for a calendar that lets you select any year and month. You can see a simpler JavaScript calendar at http://www.best.com/~nessus/js-today.html.

Back to 12/96 On the Road With Java Script...Script and More Script
Up to Table of Contents
Ahead to 12/96 Cover Story: Best of Breed