AUTHOR:Derek Allwardt TYPE: Freeware BROWSERS: Javascript enabled all
This Javascript uses images, so it looks like a real chord diagram. It's very easy to add new chords simply by adding links that call the 'chord' function. It has eight parameters for you to submit the chord name,
position and the fret numbers.
1) Insert this script in the <HEAD> section of the page.
2) Insert the following HTML code in the
<BODY> section where you want the guitar chord machine to appear in the page.
3)Download
this ZIP file with the images for the chords and unzip into the
appropriate directory.
4) Define the path to the
images:
// In the script section
dot = new Image() ;
dot.src = "script_files/dot.gif";
line = new Image() ;
line.src = "script_files/line.gif";
blank = new Image() ;
blank.src = "script_files/blank.gif";