thingite clock gadget

1 Conversation

This is a really simple script that to be fair wont be all that useful to everyone, but it would be nice for all the Thingites to have a Gadget to show the proper time. This will create a message with the date shown acording to the Thingite campaign and can be placed anywhere in the <body>:

<TABLE WITDH="200" HEIGHT="100" BORDER="1" BORDERCOLOR="#666666">
<TD><p align="center">By THINGITE decree</p>
<script language="Javascript">

var dayName = new Array ("Dontbry", "Sodit", "Wimpy", "Wibble", "Thing", "Poets", "Doobry")

var monName = new Array ("January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December")

var now = new Date

document.write("Today is " + dayName[now.getDay()] + ", " + monName[now.getMonth()] + " "+now.getDate() +".")


</script>
</TD>
</TABLE>

Bookmark on your Personal Space


Conversations About This Entry

Title
Latest Post

Entry

A679007

Infinite Improbability Drive

Infinite Improbability Drive

Read a random Edited Entry


Disclaimer

h2g2 is created by h2g2's users, who are members of the public. The views expressed are theirs and unless specifically stated are not those of the Not Panicking Ltd. Unlike Edited Entries, Entries have not been checked by an Editor. If you consider any Entry to be in breach of the site's House Rules, please register a complaint. For any other comments, please visit the Feedback page.

Write an Entry

"The Hitchhiker's Guide to the Galaxy is a wholly remarkable book. It has been compiled and recompiled many times and under many different editorships. It contains contributions from countless numbers of travellers and researchers."

Write an entry
Read more