var currentNum=0;
var tipStartHtml = "
| Helpful Tip: |
| ";
var tipEndHtml = " |
"
var tipsArr = new Array();
function writePianoTip1(){
tipsArr[0] = "Each piano tab line should specify the octave, eg:" +
"| " +
"Good example: |
" +
"3|--a--c---a-- 2|--a---a---c-
|
" +
"| Bad example: |
|--a--c---a-- 2--a---a---c-
|
";
tipsArr[1] = "Help those you are arguing with see your point of view by interrupting them frequently."
tipsArr[2] = "UPPERcase notes are sharps
(the black keys),
lowercase notes are naturals
(the white keys):" +
"" +
"Uppercase: "F" = "F#" = "F sharp"
Lowercase: "f" = "f natural" |
"
tipsArr[3] = "Save often."
tipsArr[4] = "For easier readability, place higher pitched notes in a chord above lower notes. eg:" +
"| " +
"Good example: |
" +
"4|--e-- 4|--c--
|
" +
"| Bad example: |
4|--c-- 4|--e--
|
";
tipsArr[5] = "Never trust someone who says, "Trust me""
tipsArr[6] = "Sharps can be flat
(or natural)!" +
"" +
""C#" = "Db" "D#" = "Eb" "E#" = "f natural" "F#" = "Gb" "G#" = "Ab" "A#" = "Bb" "B#" = "c natural" |
"
tipsArr[7] = "Get more tab views!
" +
"When naming your songs, use words people commonly search-for. You'll get more views, comments and ratings."
tipsArr[8] = "If you can't say something nice, say something surrealistic."
tipsArr[9] = "Put brackets around your chords to distinguish them from notes, like so:
[Cm] [Eb]"
tipsArr[10] = "OBEY"
writeTip(-1);
}
function writeGtrTip1(){
tipsArr[0] = "Each guitar string needs to be specified, eg:" +
"| Good |
e|-----1--1------ b|------0---0---0 g|----2---2-2---2 d|--------------- a|-0---0----0---0 e|--------------- |
" +
"| Bad |
|-----1--1------ |------0---0---0 |----2---2-2---2 |--------------- |-0---0----0---0 |--------------- |
"
tipsArr[1] = "Marry rich."
tipsArr[2] = "Avoid butt humping numbers:
" +
"In this tab line: "-121--12-" Are you are supposed to play 1-2-1, or 12-1, or 1-21? " +
"Keep at least one space between each separate note, you homo.
"
tipsArr[3] = "If you don't know, shut the hell up."
tipsArr[4] = "See the guitar tab FAQ for more life changing tips!"
tipsArr[5] = "Search Engine Optimize!
" +
"Title your tabs using commonly search-for words to get more views, comments and ratings."
tipsArr[6] = "OBEY"
tipsArr[7] = "Put brackets around your chords to distinguish them from notes, like so:
[Cm] [Eb]"
writeTip(-1);
}
function writeTip(tipNum){
if(tipNum == -1){
currentNum = Math.round(Math.random() * (tipsArr.length-1));
}
if(currentNum>tipsArr.length-1)
currentNum=0;
nextNum=currentNum+1;
if(currentNum==tipsArr.length-1)
nextNum=0;
setMessage('msgDIV', tipStartHtml +
tipsArr[currentNum] +
"
Next Tip >>" +
tipEndHtml);
currentNum++;
}
function setMessage(objName, newText){
if(document.getElementById){
if((obj = document.getElementById(objName)) != null) with (obj)
innerHTML = unescape(newText);
}
}