Here's the code:
<SCRIPT LANGUAGE="Javascript"><!--
function text() {
};
text = new text();
number = 0;
// textArray
text[number++] = "I read the other day some verses written by an eminent painter which were original and not conventional."
text[number++] = "The soul always hears an admonition in such lines, let the subject be what it may."
text[number++] = "The sentiment they instil is of more value than any thought they may contain."
text[number++] = "To believe your own thought, to believe that what is in your private heart is true for all men, that is genius."
increment = Math.floor(Math.random() * number);
document.write(text[increment]);
//--></SCRIPT>
Specifically what I'd like the words:
true for you
from the fourth text in the array to link to some external website.
The <a>
tag doesn't seem to work for me. Neither does the string method. Of course, I am a total lunkhead.