Menu
Hey all,
Currently a bit of a JavaScript novice so sorry up front if this is a stupid question ..
Does anyone know how to set a result display font to random -I know how to set a standard font, to e.g. red:
<script language=”JavaScript”>
<!– hide
var txt = “This is some sample text”;
document.writeln(txt.fontcolor(‘red’));
// unhide –>
</script>
I’ve tried:
document.writeln(txt.fontcolor(‘random’)); AND
document.writeln(txt.fontcolor(”));
– but no luck ..
Can you help ? ?