`
抽风的鱼
  • 浏览: 49895 次
  • 性别: Icon_minigender_2
  • 来自: 杭州
文章分类
社区版块
存档分类
最新评论
文章列表
今天调节界面的时候发现一个问题, 我需要iframe高度自适应 在iframe 加载完成的时候 调用方法读取子界面的高度然后设这iframe高度预期同步 并且为了在js中动态添加节点导致子界面高度变化,而同步调节iframe高度 这添加定时器,定时刷新iframe高度 $("#mainFrame").load(function(){ window.setInterval(showheight, 100); }); function showheight(){ var body = mainFrame.window.document ...
http://daneden.github.io/animate.css/
jQuery为开发插件提拱了两个方法,分别是: 1. jQuery.fn.extend(); 2. jQuery.extend(); (1). jQuery.extend(object);  它是为jQuery类添加类方法,可以理解为添加静态方法。如: a.jQuery.extend({   min: function(a, b) { return a < b ? a : b; },   max: function(a, b) { return a > b ? a : b; } }); jQuery.min(2,3); //  2 jQuery.max(4,5); ...
step1: 到 sqlite官网 (http://www.sqlite.org/download.html) 下载 sqlite3.exe step4:  开始 -> 运行 -> 打开 cmd命令                打开 wc.db                执行 delete from work_queue;
//事件绑定成功 $("img").on("error",function(){ $(this).attr("src","/images/imgerr.jpg"); }); //事件绑定失败 $(document).on("error","img",function(){ $(this).attr("src","/images/imgerr.jpg"); }); 猜测原因: 在所有的浏览器,load ,scroll, 和 error ...
eclipse中使用maven插件的时候,运行run as maven build的时候报错 -Dmaven.multiModuleProjectDirectory system propery is not set. Check $M2_HOME environment variable and mvn script match. 可以设一个环境变量M2_HOME指向你的maven安装目录 M2_HOME=D:\Apps\apache-maven-3.3.1 然后在Window->Preference->Java->Installed JREs->Edit ...
<div class="container"> <div cass="header"></div> <div class="body"></div> <div class="footer"></div> </div> 第二种情况:footer始终在其底部固定 .container{position:relative;width:100%;min-height:100%;} .body{padding-bottom: ...
网址: http://192.168.10.213:8081/nexus/index.html#nexus-search;quick~shiro-ehcache 命令 mvn install:install-file -Dfile=E:\s\org.apache.sling.commons.html-0.9.1-SNAPSHOT.jar -DgroupId=org.apache.sling -DartifactId=org.apache.sling.commons.html -Dversion=0.9.1-SNAPSHOT -Dpackaging=jar -Dfile jar包路径 -Dg ...
参考网址: http://sishuok.com/forum/blogPost/list/5934.html 只截取部分内容,查看完成请前往原网址 、常见应用场景 1、日志记录:记录请求信息的日志,以便进行信息监控、信息统计、计算PV(Page View)等。 2、权限检查:如登录检 ...
参考网址: http://www.cnblogs.com/sking7/archive/2011/10/19/2218187.html js是单线程执行的 在js引擎遇到settimeout(funcion(),111)函数时 它必须依赖外部来计时并触发定时, 由外部计时器计时,并产生事件,然后加入js引擎队列。由js引擎顺序执行
js return 和 return false 区别 在循环中 return 跳出当前循环,return  false跳出函数,结束该函数执行
org.springframework.http.converter.HttpMessageNotWritableException com.fasterxml.jackson.databind.JsonMappingException 今天出现了这两个错误, 在对象转换成json的时候出现了错误, 结果发现是类中某属性的set 和 get函数写错了!!!!!!
今天使用的pintuer框架  结果pintuer框架的js文件一直报错 e.handler.apply is not a function 百度了一把 又说是事件未写返回处理函数了 仔细查找了代码 发现果然如此 $(document).on("click",".pagination a",function(){}); 不小心写成车了$(document).on("click",".pagination a"),function(){};
昨天遇到一个错误  with SQL state '42000', error code '1064', 查看了很久没有发现sql语句哪里写错了,, 百度了一把之后,有说法是字段与sql的关键字冲突了,仔细检查之后没有发现有冲突的 结果一再检查之后发现是 sql函数的使用格式错误了  count(*) 写成了 count * 结果sql执行的时候 会把他当成列名处理 这样就出现了关键字冲突问题 浪费我一个下午来解决 !!!!!!!!
使用$(":checkbox").is("checked") 返回true则选中 使用$(":checkbox").attr("checked") 返回undefined 不适用 jquery 设置选中 $(":checkbox").prop("checked",true); $(":checkbox").prop("checked",false);
Global site tag (gtag.js) - Google Analytics