PDA

View Full Version : Menu format change



Paramasivan
10-10-2012, 08:55 PM
1) Script Title: jQuery Multi Level CSS Menu #1

2) Script URL (on DD): http://www.dynamicdrive.com/style/csslibrary/item/jquery_multi_level_css_menu_horizontal_blue/

3) Describe problem:

I want to have single level sub menu only.

The menu format is :


<div id="myjquerymenu" class="jquerycssmenu">
<ul>
<li><a href=""> Main Menu</a>
<ul>
<li><a href=""> Sub1 </a></li>
<li><a href=""> Sub2</a></li>
</ul>
</li>
</ul>
</div>

For some reasons for another platform I want to change as below:-


<div id="myjquerymenu" class="jquerycssmenu">
<ul>
<li><a href=""> Main Menu</a>
<ul>
<ul>
<li><a href=""> Sub1 </a></li>
</ul>
<ul>
<li><a href=""> Sub2</a></li>
</ul>
</ul>
</li>
</ul>
</div>

That is UL enclosing LI element.

What change is to be done in jquerycssmenu.js ?

Thanks in advance.