<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... 6 hrs ago

Posts Tagged ‘simple’

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:…

Refresh the Page!

Monday, November 17th, 2008

If you want to add in a simple button or link for visitors to refresh the page, there is a really simple code that does the trick

Button

<FORM>
<INPUT TYPE="button" VALUE="Reloadthe page" onClick="history.go(0)">
</FORM>
Link

<a href="#" onClick="history.go(0)">Refresh the page!</a>

Refresh the page!

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).