Nic's page isn't responding at the moment, so I'll just post my hacked up version of his code here.
Code:
<script language="Javascript" type="text/javascript">
<!--
// original content taken from Nic's JavaScript Page with permission
// lack of these three lines will result in copyright infringment
// made by: Nic's JavaScript Page - http://www.javascript-page.com
var currentdate = 0;
var core = 0;
function initArray() {
this.length = initArray.arguments.length;
for (var i = 0; i < this.length; i++) {
this[i] = initArray.arguments[i];
}
}
link = new initArray(
"<a href=\"http://www.gsm-security.net\">What is GSM Security?</a>",
"<a href=\"http://www.sansecurity.com\">What is SAN (Storage Area Network) Security?</a>",
"<a href=\"http://www.enterprisestoragemanagement.com\">What is storage management?</a>",
"<a href=\"http://www.entrepreneur-support.com\">Are you starting a small business?</a>",
"<a href=\"http://www.fortliberty.org\">Are you worried about the future of America?</a>",
"<a href=\"http://www.famous-quote.net\">Would you like a good quote to brighten your day?</a>",
"<a href=\"http://www.nuclearnow.org\">What are the pros and cons of nuclear power?</a>"
);
var currentdate = new Date();
var core = currentdate.getSeconds() % link.length;
var ranlink = link[core];
document.write('' +ranlink+ '');
//-->
</SCRIPT>
Not the very important lack of a comma on the last item in the list.
Bookmarks