Revised the Bulleted List nav template with a few styles
This commit is contained in:
parent
1ddde62247
commit
aef76fa8b7
1 changed files with 18 additions and 2 deletions
|
|
@ -14,7 +14,7 @@
|
|||
|
||||
<tmpl_loop page_loop>
|
||||
<tmpl_if __FIRST__>
|
||||
<ul>
|
||||
<ul class="bulletList">
|
||||
</tmpl_if>
|
||||
|
||||
|
||||
|
|
@ -22,7 +22,7 @@
|
|||
</ul></li>
|
||||
</tmpl_loop>
|
||||
|
||||
<li><tmpl_var page.menuTitle>
|
||||
<li class="level<tmpl_var page.relDepth>"><a <tmpl_if page.newWindow>onclick="window.open('<tmpl_var page.url>')" href="#" <tmpl_else>href="<tmpl_var page.url>"</tmpl_if>><tmpl_var page.menuTitle></a>
|
||||
<tmpl_if page.hasViewableChildren>
|
||||
<ul>
|
||||
<tmpl_else>
|
||||
|
|
@ -37,4 +37,20 @@
|
|||
</li></ul>
|
||||
</tmpl_if>
|
||||
</tmpl_loop>
|
||||
~~~
|
||||
<style type="text/css">
|
||||
ul.bulletList li, ul.bulletList ul {
|
||||
margin-left:7px;
|
||||
padding-left:0px;
|
||||
font-size:9px;
|
||||
}
|
||||
|
||||
.bulletList .level0 {
|
||||
font-size:13px;
|
||||
}
|
||||
|
||||
.bulletList .level1 {
|
||||
font-size:11px;
|
||||
}
|
||||
</style>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue