How can i add the total width off all submenu li's to the submenu ul?
width() method of jQuery?
<ul>
<li>level 1</li>
<li>
<ul style="widht:150px;"> //total width children li / add width li's
<li>level 2</li> //width 100
<li>level 2</li> //width 50
</ul>
</li>
<li>level 1</li>
<li>
<ul style="widht:150px;"> //total width children li / add width li's
<li>level 2</li> //width 100
<li>level 2</li> //width 50
</ul>
</li>
</ul>