JavaScript Guitar Chord Chart Now you can use Netscape 2.0 or later to view common guitar chord patterns. To use the guitar chart, select a chord from the list, then click on the Set button. The fingering for that chord is displayed. The chart uses JavaScript, a user scripting language built into Netscape, to display the chord fingering. The fretboard is shown as you see it in music books, as if you are looking at the guitar with the neck pointing up. The 6 or low-E string (the heavy bass string that's on the top when you play the guitar) is on the far left of the chart. The chart shows the first six frets of the fretboard. A dot above the heavy line (the 'nut') denotes an open string. A flashing dot denotes a string that is not played (skipped or muted). All chords have alternative fingering. The ones pictured are most often used, but may not be the best for a given song, considering what chords come before or after. Experiment! You may edit the programming of the chart (it's not hard) to add new chords, or change a chord to use fingering that you prefer. If you'd like to use the JavaScript Guitar Chord Chart on your local computer -- so that it is available whenever you want it -- click on the frame that contains the chart. Then choose File, Save Frame As. Specify the location for the file, then choose Save. You also need to save the file 'black.gif.' The primary purpose of the JavaScript Guitar Chord Chart is as a demonstration of JavaScript programming principles. Feel free to study the code and adopt it in any way you like. The JavaScript Guitar Chord Chart is from my upcoming book, The JavaScript Sourcebook, published by Wiley Computer Publishing. See Gordon McComb's Experiments in JavaScript for more information. The JavaScript Guitar Chord Chart demonstrates the following JavaScript programming principles: Dynamic creation of form elements using JavaScript. Using JavaScript inside tables. Using onClick to process user selections. Using JavaScript to read and set radio button form controls. Using the setTimeout function to create a pre-determined delay (dots flashing). Creating and referencing associative arrays. Useful, for example, in any JavaScript database application. This page is Netscape "Atlas" compatible. This page is not compatible with Internet Explorer Alpha 1.