Skip to content

guitarparty/chords.io

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chords.io

Chords.io is a small jQuery plugin to display guitar chords using Raphaël SVG library.

Chords.io does not know any chord shapes or names so you will have to provide it with all the data.

Requirements

Requires Raphaël and jQuery.

Usage

HTML

<div data-code="xo221o" data-name="Am" />
<div data-code="x32o1o" data-name="C" />
<div data-code="133211_3" data-name="G" />

JS

$('div').chordsIO();

Result

Example chords

More examples

Check out http://guitarparty.github.com/chords.io/

TODO

  • Consider using something other than data- attributes. The name of the chords should probably be a text within the element.
  • Listen for changes on elements and redraw the chords

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published