<!--navigation starts--
<div class= "Global_nav_wrap" >
<ul class= "Nav nav-pills" >
<li{Dede:field Name=typeid runphp= "Yes"} (@me = = "")? @me = "class= ' nav-current '": @me = ""; {/dede:field}> <a class= "dropdown-toggle" href= "http://cn.prep-zone.cn/" > Home </a></li>
{dede:channelartlist typeid= ' top ' row= ' currentstyle= 'nav-current'}
<li class= "{dede:field.currentstyle/}"> <a class=" dropdown-toggle "href=" {dede:field name= ' typeurl '/} ' >{dede:field name= ' TypeName '/}</a>
<ul id= "menu1" class= "Dropdown-menu" role= "menu" aria-labelledby= "DROP4" >
{dede:channel type= ' son '}
<li><a tabindex= "-1" href= "[field:typelink/]" >[field:typename/]</a></li>
{/dede:channel}
</ul>
</li>
{/dede:channelartlist}
</ul>
</div>
<!--navigation Ends-
Dede let channelartlist tag support Currentstyle attribute perfect solution
Weave Dream Navigation Currentstyle Click on Li to add Class class style