diff --git a/HelpText.js b/HelpText.js new file mode 100644 index 0000000..91fb015 --- /dev/null +++ b/HelpText.js @@ -0,0 +1,31 @@ +var HELP_TEXT = ""; \ No newline at end of file diff --git a/boxfrets.js b/boxfrets.js index e3662b3..921a48a 100644 --- a/boxfrets.js +++ b/boxfrets.js @@ -49,8 +49,9 @@ // The 'New Interval Quiz' will randomly paint a new interval for the user to gues the relationship. // constants +// + var CHECKANSWER = 'Check Answer!'; -var HELP_TEXT = "HEre is some help"; var GUITAR_STRINGS; // will be array of strings var INTERVAL_COLORS = [ @@ -666,7 +667,7 @@ var ctl_newIntQuiz = function(){ var ctl_newRandRoot = function(){ clear_fretboard(); - INTERVALMODE = false; + //INTERVALMODE = false; //get random scale // get randonm note on FB var note = get_random_stringFret(); // 0 = string, 1 = fret @@ -1135,6 +1136,7 @@ jQuery(document).ready(function() { // bind help button to show help dialog $('#btnHelp').click(function(){ + $( "#helpText" ).html(HELP_TEXT); $( "#helpText" ).dialog( "open" ); }); diff --git a/fretboard.html b/fretboard.html index 382f9a3..4d1cf97 100644 --- a/fretboard.html +++ b/fretboard.html @@ -11,7 +11,7 @@ - + @@ -28,39 +28,7 @@
- +
diff --git a/index.html b/index.html index 99010da..20370fa 100644 --- a/index.html +++ b/index.html @@ -1,6 +1,8 @@ Fretboard Studies + +