摘要: 引言 Dojo配置 1 Dojo存在默认配置 2 查看dojo默认配置 3 修改dojo配置 总结 引言 Dojo配置 1 Dojo存在默认配置 2 查看dojo默认配置 3 修改dojo配置 总结 引言 Dojo配置 1 Dojo存在默认配置 2 查看dojo默认配置 3 修改dojo配置 总结 阅读全文
posted @ 2018-03-20 17:50 轻溟雨殇 阅读(913) 评论(0) 推荐(0) 编辑
摘要: /** * 页面大小调整 */ function reSizeNewsPage(){ var submenu = document.getElementById("sub-menu"); var submenuHeight = submenu ? submenu.offsetHeight : 0; 阅读全文
posted @ 2017-09-22 09:37 轻溟雨殇 阅读(177) 评论(0) 推荐(0) 编辑
摘要: /*! * jQuery Cookie Plugin v1.4.0 * https://github.com/carhartl/jquery-cookie * * Copyright 2013 Klaus Hartl * Released under the MIT license */(funct 阅读全文
posted @ 2017-09-21 10:36 轻溟雨殇 阅读(185) 评论(0) 推荐(0) 编辑
摘要: (function(window){ var module_index = 0; //var userMgr = new GeoESB.User(); var loginUser = new GeoESB.LoginUser(GeoESB.ServiceConfig,""); $(document) 阅读全文
posted @ 2017-08-15 13:53 轻溟雨殇 阅读(129) 评论(0) 推荐(0) 编辑
摘要: <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=gb2312" /> <title>网页焕肤</title> <style t 阅读全文
posted @ 2017-08-10 15:06 轻溟雨殇 阅读(288) 评论(0) 推荐(0) 编辑
摘要: (function(){ $("#queryBtn").click(function(){ testAjax(); }); function testAjax(){ var random = "?random=" + Math.random(); var url = "jsp/httpproxy.j 阅读全文
posted @ 2017-08-07 09:31 轻溟雨殇 阅读(80) 评论(0) 推荐(0) 编辑
摘要: jQuery.parent(expr) 找父亲节点,可以传入expr进行过滤,比如$("span").parent()或者$("span").parent(".class") jquery.parents(expr),类似于jQuery.parents(expr),但是是查找所有祖先元素,不限于父元 阅读全文
posted @ 2017-08-03 13:44 轻溟雨殇 阅读(235) 评论(0) 推荐(0) 编辑
摘要: 对于页面中复杂数据的提交: $.ajax({ type:"post", url:url, dataType: "json", contentType: "application/json", async:true, data:JSON.stringify(param), success:functi 阅读全文
posted @ 2017-07-31 10:37 轻溟雨殇 阅读(5341) 评论(0) 推荐(0) 编辑
摘要: Underscore.js是一个很精干的库,压缩后只有4KB。它提供了几十种函数式编程的方法,弥补了标准库的不足,大大方便了JavaScript的编程。MVC框架Backbone.js就将这个库作为自己的工具库。除了可以在浏览器环境使用,Underscore.js还可以用于Node.js。 Unde 阅读全文
posted @ 2017-07-25 10:41 轻溟雨殇 阅读(9213) 评论(0) 推荐(2) 编辑