First, you create a separate file (we'll call it copyright.js). Within that document, you place the actual copyright information, exactly as you want it to appear on your web pages. Next, you insert a small piece of JavaScript within your HTML code.
When it comes time to update your pages, you merely change what's in the copyright.js file and then upload the new version to your web server. Miraculously, every page of your website (where the JavaScript was inserted in the HTML code) is automatically changed to reflect the new information.
↧