在现有 jQuery 手风琴下拉列表的内容顶部添加一个下拉框,将内容向下推
我正在尝试找到一种方法,使二级下拉菜单位于 jquery 手风琴< /a> 样式下拉菜单。 jQuery 手风琴样式的下拉菜单故意将下面的内容下推;但是,我不希望二级下拉菜单将内容下推。有什么解决方案可以做到这一点吗?我不在乎它是否更 jQuery, javascript , css, php,你有什么。
此页面上的主要导航是我试图找到解决方案的内容: jQuery 手风琴下拉菜单将内容向下推,需要将“悬停在内容上”下拉框添加到第二级
I am trying to find a way to have a second-level dropdown menu lay on top of the content below a jquery accordion style dropdown menu. The jQuery accordion style dropdown purposely pushes down the content below; however, I do not want the second-level dropdown to push the content down. Is there any solution to do this? I don't care if it's more jQuery, javascript, css, php, what-have-you.
The main navigation on this page is what I'm trying to find a solution for: jQuery accordion dropdown that pushes content down and needs a "hover over content" dropdown box added to 2nd-level
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
在看不到代码的情况下,我能想到的唯一解决方案是将二级下拉菜单设置为
position:absolute
。请记住将z-index
设置为高于手风琴的值。Without being able to see the code, the only solution I can think of is to set the second-level dropdown to
position:absolute
. Remember to set thez-index
to a value higher of that of the accordion.