gpt4 book ai didi

javascript - 菜单隐藏在布局 div 后面

转载 作者:行者123 更新时间:2023-11-28 12:59:19 25 4
gpt4 key购买 nike

布局北部区域的菜单不可见。它已隐藏在布局下。问题可能出在CSS部分,我试过但无法解决。

引用jsfiddle http://jsfiddle.net/4QbqY/

<div class="ui-layout-north">
<div>
<nav>
<ul>
<li>
<a href="home.html">File <span class="caret"></span></a>
<div>
<ul>
<li>
<a href="aa.html">New</a>
</li>
<li>
<a href="aa.html">Open</a>
</li>
</ul>
</div>
</li>

<li>
<a href="products.html">Action <span class="caret"></span></a>
<div>
<ul>
<li>
<a href="products.html#chair">Edit <span class="caret"></span></a>
<div>
<ul>
<li><a href="#">Undo</a></li>
<li><a href="#">Redo</a></li>
<li><a href="#">Cut</a></li>
<li><a href="#">Copy</a></li>
<li><a href="#">Paste</a></li>
</ul>
</div>
</li>
</ul>
</div>
</li>
</ul>
</nav>
</div>
</div>

<div class="ui-layout-west" id="testdata">
</div>

<div class="ui-layout-south">
This is the south pane
</div>

<div class="ui-layout-east">
This is the east pane
</div>

<div class="ui-layout-center">
This is the center pane
</div>

最佳答案

几分钟后。这是您想要的结果。

Fiddle

HTML

只需将其添加到您的北布局 onmouseover="myLayout.allowOverflow('north')"

<div class="ui-layout-north" onmouseover="myLayout.allowOverflow('north')">

引用:

http://layout.jquery-dev.net/demos/simple.html

关于javascript - 菜单隐藏在布局 div 后面,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21693998/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com