here is steps for adding multi-level menu :
1,Add this code before </head>
<script src="http://dinhquanghuy.110mb.com/superfish.js" type="text/javascript"></script>
2,find this
.nav li ul { background:#fff; position:absolute;left:-999em;width:172px; margin:0px 0px 0px -2px; border:1px solid #dfdfdf; border-width:1px 1px 0px; z-index:999; }
and delete left:-999em;
3,Add this code before ]]></b:skin>
.nav li ul {display:none;}
4,Now find this code :
<ul class="nav" id="cat-nav">
<b:section id='menu' showaddelement='no'>
<b:widget id='LinkList1' locked='false' title='menu' type='LinkList'>
<b:includable id='main'>
<b:loop values='data:links' var='link'>
<li><a expr:href='data:link.target'><data:link.name/></a></li>
</b:loop>
</b:includable>
</b:widget>
</b:section>
</ul>
and replace it with the code of menu like that :
<ul class="nav" id="cat-nav">
<li><a href="link to category">Category</a></li>
<li><a href="link to category">Category</a></li>
<li><a href="link to category">Category</a>
<ul>
<li><a href="link to sub-cateogry">link to sub-category</a></li>
<li><a href="link to sub-cateogry">link to sub-category</a></li>
<li><a href="link to sub-cateogry">link to sub-category</a></li>
</ul>
</li>
</ul>
that's all . I hope it helpful to you .
Bro,
ReplyDeleteYou are already reminded by Huy Dinh Quang not to use 'admin' as your identity. Pls comply
mình làm y như vậy nhưng menu chính thì ok, nhưng menu con thì không hoạt động Huy ơi, giúp mình với nhé
ReplyDeleteHi Huy,
ReplyDeleteOops! I got problem same as N.T.H. pls fix it. Tks
Minh Triết
@ Nazir :
ReplyDeleteThe 'admin' identity is automatically set by Blogger Profile Setting, Bro,
As you see in the other posts, there are so many 'admin' names on the comment sections,
So, what now Nazir? Should we make another Blogger profile ?
All menu its OK but the MULTI-LEVEL menu dont work. can helpme?
ReplyDeleteAnd i need put more than 3 categories, hoy can put another categories with desplegable (multilevel) menu?
ReplyDeleteI configure all new MULTI-LEVEL Menú, but doesnt work. I check all codes and cant see were is wrong. Please need urgent help!
ReplyDelete@nhamngahanh: cảm ơn Huy nhiều nhé, mình làm theo hướng dẫn của bạn và nó đã chạy ok rồi, cảm ơn vì theme rất đẹp...
ReplyDeleteHI, Huy
ReplyDeleteI found my problem. It worked.
Can we make the sub categories for sub caetegories?
Ex:
CATERGORIES 1
SUB CATEGORIES 1.1
SUB CATEGORIES 1.1.1
SUB CATEGORIES 1.1.2
i m ussing ur instruction of sub catogories on my site bt its display eror like it
ReplyDeleteXML error message: The element type "body" must be terminated by the matching end-tag "".
plz help me ???
www.shaanali.info
I can't find this code : .nav li ul { background:#fff; position:absolute;left:-999em;width:172px; margin:0px 0px 0px -2px; border:1px solid #dfdfdf; border-width:1px 1px 0px; z-index:999; }
ReplyDeleteI try with template and I try with blogger templates but nothing!!
Sobody help me please!!
Hey again...
ReplyDeleteI can't find this code : .nav li ul { background:#fff; position:absolute;left:-999em;width:172px; margin:0px 0px 0px -2px; border:1px solid #dfdfdf; border-width:1px 1px 0px; z-index:999; }
Can anyone help me?