js
来源:互联网 发布:apk源码编译软件 编辑:程序博客网 时间:2024/05/17 07:13
//radio_btn的定义//***实时视频开关// 开启实时视频var realTimeVideoOpenRadio = new Ext.form.Radio({ boxLabel: '开启查看实时视频', inputValue: '2', listeners: { 'check': function () { if (realTimeVideoOpenRadio.getValue()) { realTimeVideoCloseRadio.setValue(false); realTimeVideoOpenRadio.setValue(true); } } }});//关闭实时视频var realTimeVideoCloseRadio = new Ext.form.Radio({ boxLabel: '关闭查看实时视频', inputValue: '4', listeners: { 'check': function () { if (realTimeVideoCloseRadio.getValue()) { realTimeVideoOpenRadio.setValue(false); realTimeVideoCloseRadio.setValue(true); } } }});//***历史视频开关// 开启历史视频var historyVideoOpenRadio = new Ext.form.Radio({ boxLabel: '开启查看历史视频', inputValue: '8', listeners: { 'check': function () { if (historyVideoOpenRadio.getValue()) { historyVideoCloseRadio.setValue(false); historyVideoOpenRadio.setValue(true); } } }});//关闭历史视频var historyVideoCloseRadio = new Ext.form.Radio({ boxLabel: '关闭查看历史视频', inputValue: '16', listeners: { 'check': function () { if (historyVideoCloseRadio.getValue()) { historyVideoOpenRadio.setValue(false); historyVideoCloseRadio.setValue(true); } } }});//***超流量实时视频开关// 开启超流量实时视频var exceedRealTimeVideoOpenRadio = new Ext.form.Radio({ boxLabel: '允许超流量查看实时视频', inputValue: '32', listeners: { 'check': function () { if (exceedRealTimeVideoOpenRadio.getValue()) { exceedRealTimeVideoCloseRadio.setValue(false); exceedRealTimeVideoOpenRadio.setValue(true); } } }});//关闭超流量实时视频var exceedRealTimeVideoCloseRadio = new Ext.form.Radio({ boxLabel: '禁止超流量查看实时视频', inputValue: '64', listeners: { 'check': function () { if (exceedRealTimeVideoCloseRadio.getValue()) { exceedRealTimeVideoOpenRadio.setValue(false); exceedRealTimeVideoCloseRadio.setValue(true); } } }});//***超流量历史视频开关// 开启超流量历史视频var exceedHistoryVideoOpenRadio = new Ext.form.Radio({ boxLabel: '允许超流量查看历史视频', inputValue: '128', listeners: { 'check': function () { if (exceedHistoryVideoOpenRadio.getValue()) { exceedHistoryVideoCloseRadio.setValue(false); exceedHistoryVideoOpenRadio.setValue(true); } } }});//关闭超流量历史视频var exceedHistoryVideoCloseRadio = new Ext.form.Radio({ boxLabel: '禁止超流量查看历史视频', inputValue: '256', listeners: { 'check': function () { if (exceedHistoryVideoCloseRadio.getValue()) { exceedHistoryVideoOpenRadio.setValue(false); exceedHistoryVideoCloseRadio.setValue(true); } } }});
0 0
- js
- js
- JS
- JS
- JS
- js
- js
- js
- js
- js
- JS
- js
- JS
- js
- js
- js
- js
- JS
- HttpURLConnection入门
- PAT-B 1029. 旧键盘
- 关于调用Android系统分享
- RSA算法原理(二)
- Linux下运行java文件出现 -Xlint:unchecked
- js
- 原型模式
- 线程的应用之车票
- 3.1.2 视图实例演示-登录页面
- org.springframework.beans.factory.BeanCreationException
- gzip解压
- JAVA修饰符的详细介绍(public protect,default, private,final,abstract)
- 字符串值一旦初始化就不会被改变
- PAT-B 1030. 完美数列