I have some javascript code that I use for my website to generate and display a random song lyric. Im wondering if it would be possible to use my existing code, shown below, with a script to show a random lyric as my personal message. I know there are other scripts out there that can do this, but seeing as I already have this set up and update it frequently, it would be great if I could use this code. Does anybody have any suggestions on how to do this or could write something up quick? Thanks for any help
code:
<!--
var Text=new Array()
var num=0;
Text[num++] = "Song quote one";
Text[num++] = "Song quote two";
Text[num++] = "Song quote three.. etc";
var Number=Math.round(Math.random()*(num-1));
function showText(){document.write("<p class=\"lyric\">Music Quote</p> <div>♪" + Text[Number] + "♪</div>");}
showText();
// -->