隐藏和显示,崩溃都会像行为一样展开. [英] Hiding and showing , collapse expand like behavior.

查看:87
本文介绍了隐藏和显示,崩溃都会像行为一样展开.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好

好吧,我需要的是垂直显示两个下拉菜单,
这两个都是基于配置的,如果为其相关的下拉菜单设置了标志
因此将显示它,否则将被隐藏,
但是我的问题是我正在表格中进行操作,并且每个下拉列表都在TR中显示,

在设计时,我创建了两个TR,但是问题是,如果隐藏了第一个下拉菜单,因此该区域保持空白为空,那么可以通过折叠该区域以使较低的TR变为较高并捕获空白区域的任何想法.
问候,

Hi guys

Well what i need is to show two drop downs in a vertical way,
both of these are configuration based, if flag is set for its related drop down
so it will be shown else it will be hidden,
but my problem is that i am doing it in a table and each drop down is shown in a TR,

at design time i have created two TRs , but problem is that if first drop down is hidden so this area remains blank empty , any idea to collapse this area so that the lower TR gets upper and capture the empty area.
regards,

推荐答案

您可以将显示样式设置为无.使用示例查看此链接:
http://programming.top54u.com/样本/Javascript/Javascript-DOM/Div-Collapse-Style-Using-Display-None/Default.aspx [
You could set the display style to none. Check out this link with example:
http://programming.top54u.com/Samples/Javascript/Javascript-DOM/Div-Collapse-Style-Using-Display-None/Default.aspx[^]

Good luck!


这篇关于隐藏和显示,崩溃都会像行为一样展开.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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