Skip to content

nav (Drop-Downs)

<template:navigation startlevel="top" maxlevels="2" exposeall="1">

<template:navitem level="1">
<template:start>
<template:if $IS_FIRST>
<ul id="nav">
</template:if> 
</template:start>
<template:off> 
<template:if $ID == $ROOT_SECTION_ID && !$PREVIOUS.LEVEL><li class="##$ID##on"><template:else><li class="##$ID##"></template:if><a href="##$HREF##"<template:if $LINK_OPENS_NEW_WINDOW> target="_blank"</template:if>>##$LINK_TEXT##<strong>&nbsp;</strong><!--[if IE 7]>--></a><!--<![endif]-->
</template:off>
<template:on>
<li class="##$ID##on">##$LINK_TEXT##<strong>&nbsp;</strong><!--[if IE 7]>--></a><!--<![endif]-->
</template:on>
<template:end>

<template:if $NEXT.LEVEL == $LEVEL>
</td></tr></table><!--[if lte IE 6]></a><![endif]--></li>
</template:if>
<template:if $IS_LAST>
</ul>
</template:if>
</template:end>
</template:navitem>

<template:navitem level="2">
<template:start>
<template:if $PREVIOUS.LEVEL < $LEVEL>
<table><tr><td>
<ul>
</template:if>
<template:if $NEXT.LEVEL <  $LEVEL || $IS_LAST>
<li class="last">
<template:else>
<li>
</template:if>
</template:start>
<template:off>
<a href="##$HREF##"<template:if $LINK_OPENS_NEW_WINDOW> target="_blank"</template:if>>##$LINK_TEXT##</a>
</template:off>
<template:on>
<a href="##$HREF##">##$LINK_TEXT##</a>
</template:on>
<template:end>
</li>
<template:if $NEXT.LEVEL <  $LEVEL || $IS_LAST>
</ul>
</td></tr></table><!--[if lte IE 6]></a><![endif]--></li> <!-- end this level -->
</template:if>
<template:if $IS_LAST>
</ul><!-- end level 1 if last -->
</template:if>
</template:end>
</template:navitem>

</template:navigation>
Author
B. Tso
Date Written:
2007
Version:
1
Time:
1 hours
Department(s):
Production

Sites using this template:

Comments:

Make sure to check this in all browsers because it is old. Newer versions include hospitalist and USC Marshall. D. Butler, 16 June 2008.