★ wanayoo — archive 1999 http://techweb3.web.cerf.net/tools/java/java44e.htmlNouvelle recherche | Portail wanayoo
Click here for Novell


Feb 16, 1997
Automatic Page Update Information

Do you update your site frequently? Wouldn't it be nice to have the last update date listed on the pages so that your users know that the page is current? JavaScript provides a simple way to do this:

<HTML>
<HEAD></HEAD>
<TITLE> Displaying Update Info</TITLE>
<BODY bgcolor=ffffff>
<script language="JavaScript">
<!--hide script from old browsers
document.write("<h2>This page has been updated: " +
document.lastModified + "</h2>")
// end hiding -->
</SCRIPT>
</BODY>
</HTML>
Listing 1.4


Output from listing 1.4

Sponsored By:
Click here for Novell Brainshare

Hands-On
3-D Cards
Firewalls
HTML Authoring
Java
+ JavaScript Feature
+ Cool Java Apps
+ Brewing Your Own
+ Applet Tutorial
+ JavaScript Tutorial
+ Beyond the Browser
+ Java Resources
+ Java Bookshelf
Netscape Plug-ins
Offline Web Agents
Search Engines
Utilities
Web Animation
Web Audio
Web Video
Executive Briefing
ISPs
Net PCs
Windows NT
ActiveXpress
Controls, How-Tos, Reviews

The Comprehensive Guide to Seminars, Events & Co

TechWeb HomeTechSearchCMP's WebsitesTechCareerTechCalendarTechWeb InfoSite Map