像控件一样创建下拉菜单 [英] creating dropdown like control

查看:61
本文介绍了像控件一样创建下拉菜单的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我创建了一个多选下拉控件,它在div中显示一个复选框列表,作为单击控件时的下拉列表。但是当显示它时,它会移动它下面的其他控件。如何在点击下拉列表时显示此div。如果下拉控件下方有任何元素,div将显示在其他元素上方。

解决方案

< blockquote>看看这篇文章: 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.


这篇关于像控件一样创建下拉菜单的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆