EPAFiles: Web Design
Code Library
Please Note: We are moving away from Dreamweaver.
Throughout epa.gov, we reuse a lot of code. We offer some here in an effort to standardize. If you have other common Dreamweaver Library items you would like to see here, please let us know.
To save these files, right-click on a link below and select "Save Target as.." (Internet Explorer) or "Save Link as..." (Firefox) from the pop-up menu. Save as type: All files. Then change the extension to .lbi. Note: Save Dreamweaver library items in the Library directory of your Dreamweaver site.
These libraries and code snippets work equally well in Templates 3 and 4.
Links to External Sites (Exit EPA)
<a href="http://www.epa.gov/epahome/exitepa.htm" title="EPA's External Link Disclaimer"><img src="http://www.epa.gov/epafiles/images/epafiles_misc_exitepadisc.gif" width="87" height="13" alt="Exit EPA Disclaimer" /></a>
Dreamweaver Library item: External Links (Exit EPA) Disclaimer
Outdated Disclaimers
Page
<!-- <epaold> -->
<!-- EPA Archive Policy Disclaimer v2.0 04/29/05 -->
<p id="archive">Note: EPA no longer updates this information, but it may be useful as a reference or resource.</p>
<!-- </epaold> -->
Dreamweaver Library item: Outdated page notice source code
PDF/Non-HTML file disclaimers
Default
<p class="disclaimer">You will need Adobe Reader to view some of the files on this page. See <a href="http://www.epa.gov/epahome/pdf.html">EPA's PDF page</a> to learn more.</p>
Dreamweaver Library item: PDF disclaimer
Wide
<p class="disclaimer-wide">You will need Adobe Reader to view some of the files on this page. See <a href="http://www.epa.gov/epahome/pdf.html">EPA's PDF page</a> to learn more.</p>
Dreamweaver Library item: Wide PDF disclaimer
Search Box
Coding the Search Box: while not a "Library code item", included here for reference.
Top of Page links
<p class="pagetop"><a href="#content">Top of page</a></p>
Dreamweaver Library item: Top of Page link
