首页 > Web开发 > 详细

jquery easy UI 的hello版

时间:2014-12-11 00:19:42      阅读:319      评论:0      收藏:0      [点我收藏+]
<!DOCTYPE html>
<html>
<head>
	<meta charset="UTF-8">
	<title>Tree Node Icons - jQuery EasyUI Demo</title>
	<link rel="stylesheet" type="text/css" href="easyui.css">
	<link rel="stylesheet" type="text/css" href="icon.css">
	<script type="text/javascript" src="jquery.min.js"></script>
	<script type="text/javascript" src="jquery.easyui.min.js"></script>
</head>
<body>
	
<div id =  "box" title="js generate dialog" style="width:400px;height:200px;">

</div>


<div class="easyui-dialog" title="class generate dialog" style="width:500px;height:500px">

</div>


<script >
$(function(){
	$("#box").dialog();
});
</script>

</body>
</html>

生成dialog的方式有两种:第一种是通过js生成 (这样可以让js和html分离) 第二种是通过class的属性值就可以了。

jQuery easy ui 的学习视频地址:http://edu.51cto.com/lesson/id-24494.html 

jquery easy UI 的hello版

原文:http://blog.csdn.net/zl544434558/article/details/41855761

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!