博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理
上一页 1 ··· 18 19 20 21 22

2012年11月12日

摘要: 在html页面的head标签写:<!--[if lt IE 9]> <script src="http://202.94.7.24/static/js/public/sns/html5.js" language="javascript"></script><![endif]-->js如下:// html5shiv MIT @rem remysharp.com/html5-enabling-script// iepp v1.6.2 MIT @jon_neal iecss.com/print-protector 阅读全文

posted @ 2012-11-12 13:45 人生梦想起飞 阅读(246) 评论(0) 推荐(0) 编辑

摘要: 方法一: var loadLock = false; function loadMore() { if(jQuery('#bodyid').size() == 0)return ; document.getElementById("bodyid").style.height=document... 阅读全文

posted @ 2012-11-12 13:41 人生梦想起飞 阅读(3486) 评论(0) 推荐(0) 编辑

摘要: $(function(){var x;var y = 38;$(".classTab td:parent").live('mouseover',function(e){this.myTitle = this.title;this.title = "";var popHtml ='<div class="tishiBox"><span class="spanL"><\/span><span class="spanR">< 阅读全文

posted @ 2012-11-12 13:39 人生梦想起飞 阅读(546) 评论(0) 推荐(0) 编辑

摘要: //当前月的的天数(能够根据年月日求得每个月的天数)function(y,m){ var d = new Date(); var startMonth=m-1; var cc = (parseInt(startMonth)+1); //得到startMonth这个月的下一个月。 var temp = new Date(d.getFullYear(),(parseInt(startMonth)-1)+1,0);//就可以得到startMonth这个月的最后一天.兼容所有浏览器(new Date(d.getFullYear()+"/"+cc+"/"+&quo 阅读全文

posted @ 2012-11-12 13:18 人生梦想起飞 阅读(143) 评论(0) 推荐(0) 编辑

摘要: <div id="objDiv" style="width:400px;height:300px;background:red">鼠标移上来滚动条滑轮看看</div>var scrollFunc=function(e){ e=e||window.event; if (e&&e.preventDefault){ e.preventDefault(); e.stopPropagation(); }else{ e.returnvalue=false; return false; }}$('#scroll_1 阅读全文

posted @ 2012-11-12 13:11 人生梦想起飞 阅读(9543) 评论(0) 推荐(1) 编辑

上一页 1 ··· 18 19 20 21 22