O'Reilly logo

Essential JavaScript™ for Web Professionals, Second Edition by Dan Barrett

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Project II: Dynamic Content Creation—Printing Out the Copyright Information and Last-Modified Date

Now that the boss knows that you can dynamically add content to a page, other possible uses have been brought up. One idea that he saw on a competitor's page was the addition of copyright information and the date a page was last modified to the bottom of each page on the site (Figure 1-4). The addition of the last-modified date will be especially helpful in the case of the Shelley Web site. Many people make changes to pages on the site, and it would be great if there were an easy way to tell if a file had been changed since you last edited it. Like most projects, even though 20 minutes ago the boss didn't know it could be done, it is now a high ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required