国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 編程 > JavaScript > 正文

jquery easyui使用心得

2019-11-20 14:22:12
字體:
來源:轉載
供稿:網友

第一步下載jquery easyui 

下載地址://www.survivalescaperooms.com/codes/70218.html

第二步創建Java web項目

第三步導入相關的文件。。目錄結構如下

<link rel="stylesheet" type="text/css" href="easyui/themes/default/easyui.css" rel="external nofollow" rel="external nofollow" rel="external nofollow" > <link rel="stylesheet" type="text/css" href="easyui/themes/icon.css" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" > <script type="text/javascript" src="easyui/jquery-1.7.2.min.js"></script> <script type="text/javascript" src="easyui/jquery.easyui.min.js"></script> <link rel="stylesheet" type="text/css" href="easyui/themes/default/easyui.css" rel="external nofollow" rel="external nofollow" rel="external nofollow" ><link rel="stylesheet" type="text/css" href="easyui/themes/icon.css" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" > <script type="text/javascript" src="easyui/jquery.min.js"></script><script type="text/javascript" src="easyui/jquery.easyui.min.js"></script>

下載個jquery-easyui-1.3.2使用,把他導入到myeclipse10里,jquery-1.7.2.min.js報錯。

解決辦法:

1、選中報錯的jquery文件“jquery-1.7.2.min.js”。
2、右鍵選擇 MyEclipse-->Exclude From Validation 。
3、再右鍵選擇 MyEclipse-->Run Validation 即可。

ui1的源碼:

<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%><%String path = request.getContextPath();String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";%><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html> <head>  <base href="<%=basePath%>" rel="external nofollow" >    <title>jquery easyui test 1</title>  <meta http-equiv="pragma" content="no-cache"><meta http-equiv="cache-control" content="no-cache"><meta http-equiv="expires" content="0">  <meta http-equiv="keywords" content="keyword1,keyword2,keyword3"><meta http-equiv="description" content="This is my page"><!--<link rel="stylesheet" type="text/css" href="styles.css" rel="external nofollow" >-->  <link rel="stylesheet" type="text/css" href="easyui/themes/default/easyui.css" rel="external nofollow" rel="external nofollow" rel="external nofollow" >  <link rel="stylesheet" type="text/css" href="easyui/themes/icon.css" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" >   <!-- <link rel="stylesheet" type="text/css" href="easyui/themes/icon.css" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" > --><!-- <link rel="stylesheet" type="text/css" href="easyui/demo.css" rel="external nofollow" > --><script type="text/javascript" src="easyui/jquery.min.js"></script><script type="text/javascript" src="easyui/jquery.easyui.min.js"></script> </head>  <body>  <h2>Basic Panel</h2><p>The panel is a container for other components or elements.</p><div style="margin:20px 0 10px 0;"><a href="#" rel="external nofollow" rel="external nofollow" class="easyui-linkbutton" onclick="javascript:$('#p').panel('open')">Open</a><a href="#" rel="external nofollow" rel="external nofollow" class="easyui-linkbutton" onclick="javascript:$('#p').panel('close')">Close</a></div><div id="p" class="easyui-panel" title="Basic Panel" style="width:700px;height:200px;padding:10px;"><p style="font-size:14px">jQuery EasyUI framework helps you build your web pages easily.</p><ul><li>easyui is a collection of user-interface plugin based on jQuery.</li><li>easyui provides essential functionality for building modem, interactive, javascript applications.</li><li>using easyui you don't need to write many javascript code, you usually defines user-interface by writing some HTML markup.</li><li>complete framework for HTML5 web page.</li><li>easyui save your time and scales while developing your products.</li><li>easyui is very easy but powerful.</li></ul></div><div id="p" class="easyui-panel" style="width:500px;height:200px;padding:10px;"      title="My Panel" iconCls="icon-save" collapsible="true">    The panel content  </div>  </body></html>


效果圖:

發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 天镇县| 乡城县| 全州县| 通州市| 上犹县| 浠水县| 肇州县| 自贡市| 陈巴尔虎旗| 杨浦区| 通城县| 大余县| 平邑县| 新宾| 西畴县| 平凉市| 甘孜| 确山县| 沈阳市| 南充市| 吴江市| 顺昌县| 阿鲁科尔沁旗| 额济纳旗| 万年县| 搜索| 彰化市| 吴桥县| 西乌| 榆中县| 囊谦县| 天柱县| 遂昌县| 海兴县| 夏津县| 尼木县| 长阳| 越西县| 越西县| 浪卡子县| 南雄市|