像控件一样创建下拉菜单

像控件一样创建下拉菜单

本文介绍了像控件一样创建下拉菜单的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述 29岁程序员,3月因学历无情被辞! 我创建了一个多选下拉控件,它在div中显示一个复选框列表,作为单击控件时的下拉列表。但是当显示它时,它会移动它下面的其他控件。如何在点击下拉列表时显示此div。如果下拉控件下方有任何元素,div将显示在其他元素上方。解决方案 看看这篇文章: http://stackoverflow.com/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 :http://stackoverflow.com/questions/3544722/how-do-i-overlay-a-menu-ontop-the-rest-of-my-site[^]It should help. 这篇关于像控件一样创建下拉菜单的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云!
08-12 17:30