1

<script src="~/jquery-easyui-1.5.5.2/jquery.min.js"></script>
<link href="~/jquery-easyui-1.5.5.2/themes/default/easyui.css" rel="stylesheet" />
<link href="~/jquery-easyui-1.5.5.2/themes/color.css" rel="stylesheet" />
<link href="~/jquery-easyui-1.5.5.2/themes/icon.css" rel="stylesheet" />
<script src="~/jquery-easyui-1.5.5.2/locale/easyui-lang-zh_CN.js"></script>
<script src="~/jquery-easyui-1.5.5.2/jquery.easyui.min.js"></script> <!--简单的登录窗口-->
<div id="win01" style="width:300px;height:180px;">
<form style="padding:10px 20px 10px 40px;">
<p>Name: <input type="text"></p>
<p>Pass: <input type="password"></p>
<div style="padding:5px;text-align:center;">
<a href="#" class="easyui-linkbutton" icon="icon-ok">Ok</a>
<a href="#" class="easyui-linkbutton" icon="icon-cancel">Cancel</a>
</div>
</form>
</div>
<!--窗口的样式-->
<div>
<div id="win02"></div>
<div id="win03"></div>
<div id="win04"></div>
<div id="win05"></div>
<div id="win06"></div>
<div id="win07"></div>
<div id="win08"></div>
</div>
<div id="footer" style="padding:5px;">Footer Content.</div>

 2 script:

<script>
$(document).ready(function () { // 登录窗口
$("#win01").window({
title: 'Login',
closed: true,
collapsible: false,// 是否可以伸缩
minimizable: false,//最小化
maximizable: false,//最大化
// 可以自定义工作栏
// 参数为一个数组
//handler:点击事件
//iconCls 图标样式
tools: [{
iconCls: 'icon-add',
handler: function () {
alert('add');
}
}] }); // 窗口样式
$('#win02').window({
title: '正常',
width: 300,
height: 150,
left: 10,
top: 50,
inline: true,
closable: false, // 是否显示关闭按钮
draggable: false, // 是否可以拖拽
resizable: false,//定义窗口是否可调整尺寸。
footer: '#footer'
}); $('#win03').window({
title: '正常',
width: 300,
height: 150,
left: 320,
top: 50,
inline: true,
cls:'c1' // 绿色的样式
}); $('#win04').window({
title: '咖啡色',
width: 300,
height: 150,
left: 630,
top: 50,
inline: true,
cls: 'c2' // 咖啡色
}); $('#win05').window({
title: '粉红色',
width: 300,
height: 150,
left: 960,
top: 50,
inline: true,
cls: 'c3' , // 咖啡色
border:'thin' // 窄边框
}); $('#win06').window({
title: '浅绿色',
width: 300,
height: 150,
left: 1270,
top: 50,
inline: true,
cls: 'c4', // 粉红色
border: 'thin' // 窄边框
}); $('#win07').window({
title: '红色',
width: 300,
height: 150,
left: 1600,
top: 50,
inline: true,
cls: 'c5', //
border: 'thin' // 窄边框
}); $('#win08').window({
title: '蓝色',
width: 300,
height: 150,
left: 10,
top: 230,
inline: true,
cls: 'c6', // 蓝色
border: 'thin' // 窄边框
}); }); </script>

  3、 展示

最新文章

  1. ZeroMQ接口函数之 :zmq_curve_keypair - 生成一个新的CURVE 密钥对
  2. Android开源测试框架学习
  3. 2013学习总结----JavaScript
  4. 关于ApplicationPoolIdentity
  5. SQL Server 2012 Enterprise Core Edition和SQL Server 2012 Enterprise Edition的区别
  6. 进程与线程(7) 进程间通信之信号量 (java os)
  7. git config --global core.excludesfile配置gitignore全局文件
  8. openstacl compants CLI
  9. 浅谈 C/S 和 B/S 架构
  10. Socket编程实践(7) --Socket-Class封装(改进版v2)
  11. Kubernetes集群部署之四Master节点部署
  12. YouTube Cobalt 浏览器支持
  13. top,ps查看进程使用内存情况
  14. sql____001
  15. C++ 类的头文件、实现、使用
  16. 深度学习(一) BP神经网络
  17. TP中搜索条件
  18. 【枚举暴力】【UVA11464】 Even Parity
  19. sublime text 3 添加代码片段
  20. Spring ClassPathXmlApplicationContext和FileSystemXmlApplicationContext读取配置文件的方法

热门文章

  1. Oracle参数
  2. HDU 5667 构造矩阵快速幂
  3. 【PBFT】拜占庭容错
  4. BUUCTF | [HCTF 2018]admin
  5. [HDU3117]Fibonacci Numbers
  6. 尽量用类型化的常量替代预处理器的 #DEFINE 方法
  7. arcpy 常用操作
  8. error C2664: “ATL::CStringT&lt;BaseType,StringTraits&gt;::Remove”: 不能将参数 1 从“const char [2]”转换为“char”
  9. h5调用微信支付功能
  10. 《单词的减法》state1~state17(第二遍学习记录)