![]() |
Static html Template - Edit/Add Left Menu ContentThe left menu section has a width of 145px. An example left menu is shown on the left of this page.Use the styles and headings we have recommended below. In the source code look for the following comment tags: Example Included Left Menu with JQueryThis method is a good way of making a menu once, then re-using it with customisation, a good example of this is GOA.
Example Included Left Menu with IframesAn example of using an iframe for the left menu is microarray.<!-- start left menu here --> <iframe src="/microarray/menu.html" name="microarayleftmenu" id="microarayleftmenu" marginwidth="0" marginheight="0" style="width: 145px; visibility: visible; display: block; z-index: 2; " frameborder="0" height="1400" scrolling="no" width="100%"> </iframe> <!-- end left menu here --> Example Embedded Left MenuAn example left menu is shown on the left of this page. The menu is expandable/collapsible, we recommend you do not use more than 2-level deep menu. When you click on a link on the left menu to go to a page, once on this page this link should then have a red dot next to it (use class="clickmeopen"), even if it doesn't contain a sub-menu. This is an important navigation cue for the user.There is also an additional 'Icon Box' and 'Sliding Icon Box' which can be added underneath the menu. Use the 'Icon Box' to highlight important events or tools of interest. Avoid using graphics in these Icon Boxes. To add the left menu to your page select the following html source code and paste in between the comments tags (see above) in your template. An explanation of the styles used is given below. N.B. add <script type="text/javascript" src="/inc/js/jquery.js"></script> to the head of your page if you need animated icon boxes. Left Menu Style's Explanation
<ul id="sidemenuid" class="sidemenu">
</ul>
This is needed for the open/close menu to function. <li class="clickmeopen"> If there is a submenu class 'clickmeopen' this forces the submenu to be open by default. <li class="leftmenudivider"></li> Use this for putting a divider between list items. <div class="iconboxheading"><a href="#">Icon Box Heading</a> </div> This is where you put the heading for your Icon Box. You can remove the link to the heading if you don't need it. <div class="iconboxcontents"> </div> This is where you add any content to the Icon Box. We recommend you don't insert graphics within this div. <div class="slidecontainer"> </div> Basically the same as the icon box above, with the addition of a parent "slidecontainer" tag. Clicking on the arrow causes the box to show/hide. To add more sliding boxes just update the 'id' in the header and contents tags. Example - Box1 will be: <span class="headerToggle" id="news"> <div class="iconbox2contents" id="news_content" style="display: block"> Box2 will be: <span class="headerToggle" id="news2"> <div class="iconbox2contents" id="news2_content" style="display: block"> Now add some centre content to the templates: ![]() |
Paste your left menu html source code in between these comment tags
<!-- end left menu here -->