本文介绍了像控件一样创建下拉菜单的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我创建了一个多选下拉控件,它在div中显示一个复选框列表,作为单击控件时的下拉列表。但是当显示它时,它会移动它下面的其他控件。如何在点击下拉列表时显示此div。如果下拉控件下方有任何元素,div将显示在其他元素上方。
解决方案看看这篇文章: stackoverflow/questions/3544722/how-do-i-overlay-a-menu-ontop-the-rest-of-my-site [ ^ ] 应该有帮助。
I have created a multi select dropdown control, which displays a checkbox list, inside a div , as its dropdown on clicking on the control. but when this is displayed it moves the other controls below it. how can i make this div appear like when a dropdownlist is clicked.so that if there is any elements below the dropdown control ,the div will appear above the other elements.
解决方案 talk a look at this post :stackoverflow/questions/3544722/how-do-i-overlay-a-menu-ontop-the-rest-of-my-site[^] It should help.更多推荐
像控件一样创建下拉菜单
发布评论