随笔分类 -  js插件的使用

摘要://引入包 <script type="text/javascript" src='../template.js'></script> //定义一个有ID的script标签: <script id='tem' type="text/html"> <h4>{{name}}</h4> <ul> {{ea 阅读全文
posted @ 2016-08-05 15:49 lhy031 阅读(206) 评论(0) 推荐(0)
摘要:用法一:github上下载包:https://github.com/aui/artDialog seajs方法使用 <!doctype html> <html lang="zh"> <head> <meta charset="UTF-8"> <title>test</title> <style> b 阅读全文
posted @ 2016-08-05 15:46 lhy031 阅读(373) 评论(0) 推荐(0)
摘要:html: <table class="table table-hover table-responsive main-list" id="columntable"> <tr> <th class="">教材名称/章名称/节名称/单元名称/知识点名称</th> <th class="text-cen 阅读全文
posted @ 2016-08-05 15:39 lhy031 阅读(1228) 评论(0) 推荐(0)
摘要:: 引入 <script src="//code.jquery.com/jquery-1.9.1.js"></script> <script src="//code.jquery.com/ui/1.10.4/jquery-ui.js"></script> <tbody id="sortable "> 阅读全文
posted @ 2016-08-05 15:23 lhy031 阅读(265) 评论(0) 推荐(0)
摘要:首先引入css js dom中: <ul id="treeDemo" class="ztree"></ul> js: // 渲染文件树 var setting = { data: { simpleData: { enable: true, idKey: "id", //id和pid pIdKey: 阅读全文
posted @ 2016-08-05 14:40 lhy031 阅读(294) 评论(0) 推荐(0)