我有这个侧面板垂直导航,当悬停在菜单上时会显示子菜单。我的问题是子菜单和子菜单的子菜单由于 div 容器而没有显示。
由于 div 容器 [side-panel-links] 的宽度为 240 像素,因此将其截断。如果您扩展 div 容器的宽度,您将看到正在显示的子菜单。
我怎么可能让子菜单与 div 容器重叠以显示这些子菜单?
这是演示:http: //jsfiddle.net/xkBZE/1/
这是一段 HTML 代码:
<div class="side-panel-links left">
<div class="side-panel-links-scroll">
<div id="myslidemenu" class="jqueryslidemenu">
<ul id="side-panel-list">
<li>
<a href="#">Test 1</a>
<ul class="side-panel-list-child"></ul>
</li>
<li>
<a href="#">Test 2</a>
<ul class="side-panel-list-child">
<li>Test 2-1
<ul class="side-panel-list-child">
<li>Test 2-1-1
<ul class="side-panel-list-child">
<li>Test 2-1-1-1
<ul class="side-panel-list-child"></ul>
</li>
</ul>
</li>
<li>Test 2-1-2
<ul class="side-panel-list-child"></ul>
</li>
</ul>
</li>
<li>Test 2-2
<ul class="side-panel-list-child">
<li>Test 2-2-1
<ul class="side-panel-list-child"></ul>
</li>
</ul>
</li>
<li>Test 2-3
<ul class="side-panel-list-child">
<li>Test 2-3-1
<ul class="side-panel-list-child">
<li>Test 2-3-1-1
<ul class="side-panel-list-child"></ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
<li>
<a href="#">Test 3</a>
<ul class="side-panel-list-child"></ul>
</li>
<li>
<a href="#">Test 4</a>
<ul class="side-panel-list-child"></ul>
</li>
</ul>
</div>
</div>
</div>
谢谢!