Easyui入门视频教程 第11集---Window的使用
2024-08-31 07:08:37
目录
Easyui入门视频教程 第11集---Window的使用
第一种:
<div id="win" class="easyui-window" title="My Window" style="width:600px;height:400px"
data-options="iconCls:'icon-save',modal:true">
Window Content
</div>
第二种:
<div id="win"></div>
$('#win').window({
width:600,
height:400,
modal:true
});
title 窗体的标题
collapsible 是否可以 收缩
minimizable 是否显示最小化按钮
maximizable 是否显示最大化按钮
closable 是否显示关闭按钮
closed 是否关闭它
zIndex 垂直坐标
draggable 是否可以拖动
resizable 是否可以拉大
shadow 是否显示 阴影
inline 是否
modal 是否显示遮挡层
collapsible 是否可以 收缩
minimizable 是否显示最小化按钮
maximizable 是否显示最大化按钮
closable 是否显示关闭按钮
closed 是否关闭它
zIndex 垂直坐标
draggable 是否可以拖动
resizable 是否可以拉大
shadow 是否显示 阴影
inline 是否
modal 是否显示遮挡层
<div id="w" class="easyui-window" title="登录" data-options="modal:true,closed:false,iconCls:'icon-laugh',shadow:false,draggable:false" style="width:500px;height:200px;padding:10px;">
用户:<input id="name" type="text" />
密码:<input id="Password1" type="password" />
<a id="btn" href="#" class="easyui-linkbutton" data-options="iconCls:'icon-search',plain:true">登录</a>
<input id="Button1" type="button" value="button" />
<label id="show" style=" color:Red;"></label>
</div> <script type="text/javascript">
$(document).ready(function () {
// 在这里写你的代码...
//$('#btn').linkbutton('enable');
//$('#btn').linkbutton('disable'); $('#w').window({resizable:false});
}); function Reflesh() {
$('#w').window('refresh', './user/Reflesh');
}
最新文章
- ASP.NET MVC之视图生成URL(二)
- 超详细图解:自己架设NuGet服务器
- Android使用AttributeSet自定义控件的方法
- HDU 2767:Proving Equivalences(强连通)
- JS函数的定义与调用方法
- LabVIEW系列——自定义错误
- xhprof failed to execute cmd: "; dot -Tpng";. stderr: `sh: dot: command not found &#39;
- [CSS3] 学习笔记-选择器详解(二)
- pandas.read_csv参数详解
- Oracle约束、索引
- Django-ORM多表操作(进阶)
- ubuntu下编译小知识点
- 51Nod.1766.树上最远点对(树的直径 RMQ 线段树/ST表)
- 【Dubbo&;&;Zookeeper】5、dubbo总结和学习资料汇总
- Javascript异步编程之三Promise: 像堆积木一样组织你的异步流程
- 负载均衡介绍及Nginx简单实现
- java web中jsp常用标签
- Django将.csv文件(excel文件)显示到网页上
- ES6系列_12之map数据结构
- 19.Remove Nth Node From End of List(List; Two-Pointers)
热门文章
- SharePoint _layouts下自定义程序页面权限管理
- ElasticSearch客户端注解使用介绍
- CSS 中的字体兼容写法:用CSS为英文和中文字体分别设置不同的字体
- MFC剪贴板通信
- 神经网络激活函数sigmoid relu tanh 为什么sigmoid 容易梯度消失
- Hadoop:安装ftp over hdfs
- WordPress 获取指定分类ID的分类信息
- VS2013开发asmx接口返回一个自定义XML
- Bossies 2015: The Best of Open Source Software Awards
- 关于LayoutInflater的错误用法(警告提示:Avoid passing null as the view root)