目录

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 是否显示遮挡层

<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');
}

视频下载地址
http://pan.baidu.com/s/1jGC2yBs

需要源码

最新文章

  1. ASP.NET MVC之视图生成URL(二)
  2. 超详细图解:自己架设NuGet服务器
  3. Android使用AttributeSet自定义控件的方法
  4. HDU 2767:Proving Equivalences(强连通)
  5. JS函数的定义与调用方法
  6. LabVIEW系列——自定义错误
  7. xhprof failed to execute cmd: &quot; dot -Tpng&quot;. stderr: `sh: dot: command not found &#39;
  8. [CSS3] 学习笔记-选择器详解(二)
  9. pandas.read_csv参数详解
  10. Oracle约束、索引
  11. Django-ORM多表操作(进阶)
  12. ubuntu下编译小知识点
  13. 51Nod.1766.树上最远点对(树的直径 RMQ 线段树/ST表)
  14. 【Dubbo&amp;&amp;Zookeeper】5、dubbo总结和学习资料汇总
  15. Javascript异步编程之三Promise: 像堆积木一样组织你的异步流程
  16. 负载均衡介绍及Nginx简单实现
  17. java web中jsp常用标签
  18. Django将.csv文件(excel文件)显示到网页上
  19. ES6系列_12之map数据结构
  20. 19.Remove Nth Node From End of List(List; Two-Pointers)

热门文章

  1. SharePoint _layouts下自定义程序页面权限管理
  2. ElasticSearch客户端注解使用介绍
  3. CSS 中的字体兼容写法:用CSS为英文和中文字体分别设置不同的字体
  4. MFC剪贴板通信
  5. 神经网络激活函数sigmoid relu tanh 为什么sigmoid 容易梯度消失
  6. Hadoop:安装ftp over hdfs
  7. WordPress 获取指定分类ID的分类信息
  8. VS2013开发asmx接口返回一个自定义XML
  9. Bossies 2015: The Best of Open Source Software Awards
  10. 关于LayoutInflater的错误用法(警告提示:Avoid passing null as the view root)