"In Case You Need Them" Import Functionality

Every page in Perfect Layout has some files it can import "just in case you need them." In most cases, you won't need all of them, so the import code is commented out. These files include a typical link to an RSS feed, the prototype.js library, the Script.aculo.us Animation library, and the reflection.js file.

If you find that you need one or more of these files, remove the comment tags. All functions of Script.aculo.us can be accessed by removing the "?load=effects" part of the file import. There is one file that is always imported, but only by IE 6, called hover.js. It enables dropdown menus to work in IE 6. If you don't want them, you can safely remove that line.


Relevant HTML

<!-- RSS feed. -->
<!-- <link rel="alternate" type="application/rss+xml" title="RSS" href="../rss.xml" />-->

<!-- Javascript. Default off except for Internet Explorer related scripts. -->
<!--[if lte IE 6]><script type="text/javascript" src="../resources/javascript/hover.js"></script><![endif]--> <!-- Gives IE support for a drop down navigation menu, so don't use this unless you are using drop downs. -->
<!-- <script type="text/javascript" src="../resources/javascript/scriptaculous/prototype.js"></script>-->
<!-- <script type="text/javascript" src="../resources/javascript/scriptaculous/scriptaculous.js?load=effects"></script>-->
<!-- <script type="text/javascript" src="../resources/javascript/reflection.js"></script>-->

Relevant CSS

Not Applicable

« Back to Functionality Index