<body onload="MM_preloadImages('http://tutorials.elusionerie.com/wp-content/themes/Galaxy/switch2.png');new Accordian('basic-accordian',5,'header_highlight');">

Search the site

Subscribe

Subscribe to the blog!!!

Get updates on all the happenings @ this place. If you want to see something on here, please feel free to suggest anything!

Browse...

iiNet SUED for allowing illegal file sharing!?!?! Its the end of the internet as we know it... 8 hrs ago

Posts Tagged ‘text’

Random quote of the day

Monday, November 17th, 2008

This is a really simple script which displays a random text string on each refresh. Great for quotations!!

Code

Insert anywhere in between the <body> tags:


<script type="text/javascript"><!--
var dropdown = document.getElementById("cat");
function onCatChange() {
if ( dropdown.options[dropdown.selectedIndex].value > 0 ) {
location.href = "/?cat="+dropdown.options[dropdown.selectedIndex].value;
}
}
dropdown.onchange…

Display when a page was last updated

Monday, November 17th, 2008

Displaying the last modified date can be really useful for articles and informative blogposts - especially for people doing their research essay at the last minute *cough*
All you really need is this simple javascript:


<script type="text/javascript">document.write (document.lastModified);</script>

This will display as:
This page was last modified on:…

Switch Themes;
Home | About | Contact | Links | elusionerie.com
© elusionerie.com 2008.
Layout adapted from the Foliage layout @ 5ThirtyOne. | Top
Epichronicity is proudly powered by WordPress
Entries (RSS) and Comments (RSS).