Window01
2024-09-06 03:07:37
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、 展示
最新文章
- ZeroMQ接口函数之 :zmq_curve_keypair - 生成一个新的CURVE 密钥对
- Android开源测试框架学习
- 2013学习总结----JavaScript
- 关于ApplicationPoolIdentity
- SQL Server 2012 Enterprise Core Edition和SQL Server 2012 Enterprise Edition的区别
- 进程与线程(7) 进程间通信之信号量 (java os)
- git config --global core.excludesfile配置gitignore全局文件
- openstacl compants CLI
- 浅谈 C/S 和 B/S 架构
- Socket编程实践(7) --Socket-Class封装(改进版v2)
- Kubernetes集群部署之四Master节点部署
- YouTube Cobalt 浏览器支持
- top,ps查看进程使用内存情况
- sql____001
- C++ 类的头文件、实现、使用
- 深度学习(一) BP神经网络
- TP中搜索条件
- 【枚举暴力】【UVA11464】 Even Parity
- sublime text 3 添加代码片段
- Spring ClassPathXmlApplicationContext和FileSystemXmlApplicationContext读取配置文件的方法
热门文章
- Oracle参数
- HDU 5667 构造矩阵快速幂
- 【PBFT】拜占庭容错
- BUUCTF | [HCTF 2018]admin
- [HDU3117]Fibonacci Numbers
- 尽量用类型化的常量替代预处理器的 #DEFINE 方法
- arcpy 常用操作
- error C2664: “ATL::CStringT<;BaseType,StringTraits>;::Remove”: 不能将参数 1 从“const char [2]”转换为“char”
- h5调用微信支付功能
- 《单词的减法》state1~state17(第二遍学习记录)