Difference between revisions of "Template:Qotd"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
− | < | + | <nowiki><script language="javascript" type="text/javascript"> |
− | |||
− | <script language="javascript" type="text/javascript"> | ||
var headers = [". That is all.", ", the free encyclopedia.", "c222", "d333", "e444"]; | var headers = [". That is all.", ", the free encyclopedia.", "c222", "d333", "e444"]; | ||
Line 15: | Line 13: | ||
</script> | </script> | ||
− | + | </nowiki> | |
− |
Revision as of 21:53, 30 August 2006
<script language="javascript" type="text/javascript"> var headers = [". That is all.", ", the free encyclopedia.", "c222", "d333", "e444"]; function getRandomHeader(phrase, size) { var n = (Math.round(Math.random() * 100) % size); return phrase[n]; } var myHeader = getRandomHeader(headers, 5); document.write("<b>" + "From RealCTY" + myHeader + "</b>"); </script>