Websites/Taskforce/Proposals/Abandoned Sites/Archive: Difference between revisions

Jump to navigation Jump to search
Line 74: Line 74:


Create a new file - js/archive.js.  This file will allow us to append text to each of the pages, and will allow us to easily edit one file if their is a text change in the future.  Use something resembling the following text:
Create a new file - js/archive.js.  This file will allow us to append text to each of the pages, and will allow us to easily edit one file if their is a text change in the future.  Use something resembling the following text:
<code>
<code>
   document.write('<div id="archive"><div id="archive_text">You are viewing an archived site in the <a href="/">Mozilla Archive</a>.  Mozilla Service Week took place from September 14 - 21, 2009.  Over 11,000 service hours were donated by our awesome community to help organizations and local communities around the world. Thanks for making a difference!</div></div>');
   document.write('<div id="archive"><div id="archive_text">You are  
  viewing an archived site in the <a href="/">Mozilla Archive</a>.  Mozilla
  Service Week took place from September 14 - 21, 2009.  Over 11,000 service
  hours were donated by our awesome community to help organizations and local
  communities around the world. Thanks for making a difference!</div></div>');
</code>
</code>


1,241

edits

Navigation menu