Automatic Last Updated ScriptMany people use a last updated marker on web pages. It can be a pain to keep on altering tthem as you update your pages However you can use JavaScript to create one that does the work for you like this (yes it really does we use it !!!) here is the code - It will express the time as GMT (frontpage express users can insert using the add script function but just add the 3rd to 4th lines not the first and last 2 lines. If using composer just add the whole thing using add HTML) <script language="JavaScript"> <!--// document.write("<i>"+"Last Updated -" +document.lastModified + "</i>"); //--> </script> we've added in the italics <i> but you can change this as required NOTEIt appears differently in different browsers e.g with MSIE5 Last Updated -02/21/2000 23:13:48 and NS 4.6 Last Updated -Monday, February 21, 2000 23:13:48 so make allowances Also remeber it will update everytime you save the web page (hence we last tampered in Feb 2003) |