用xslt轻松实现树形折叠导航栏(3)

作者:未知 来源:未知 添加时间:2006年7月3日 字体:

当然, 少了navigator.css是不行的。 

navigator.css 

body 

font-family:verdana; 
cursor:default; 
font-size:9pt; 


table 

font-size:110%; 




color:"#003366"; 
text-decoration:none; 


a:hover 

text-decoration:underline; 
color:#003366; 


div img 

margin-bottom: 0px; 
margin-right: 5px; 
margin-top: -3px; 
vertical-align: middle 


div a:hover 

background-color: greenyellow 

div a 

font-weight: normal; 
margin-right: 5px; 
vertical-align: middle 


.navigator 

color: #003366; 

.navigator-hidden 

display:none; 


现在运行navi.xml的话, 您就会看见所有layer=0的navigator了(因为那些layer>0的被class="navigator-hidden"隐藏起来了), 当然现在还不能实现展开和折叠, 缺少toggle这个函数。 

ppdesk