jtab
jtab copied to clipboard
add support for scaling/sizing jtab rendering
currently diagrams are drawn in only one size. Add ability to support at least 3 sizes. Side goal: squeeze 4 bars of tab to a line
You can use CSS to "zoom" in to make the chords effectively larger. Something like "zoom:2; -moz-transform: scale(2);" on the jtab div.
I currently use some edits in the source code:
var incFactor = 2.5; Raphael.fn.string_spacing = 16 * incFactor; Raphael.fn.strings_drawn = 6; Raphael.fn.fret_spacing = 16 * incFactor; Raphael.fn.frets_drawn = 4; Raphael.fn.note_radius = 7 * incFactor;
Then I can change and store the values in web storage and manipulaet as needed.
Does jtab supports angular js?? I observed the thing that when trigger takes place it changes the URL followed by tab Id.But the doubt is that when I used with angular js it was not working.It just display a blank page....
And one more thing the tab trigger should change the content of the div not the entire page like what data toggle happens...