会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
nc_blog
博客园
首页
新随笔
联系
管理
订阅
上一页
1
2
3
4
5
6
7
8
下一页
2015年1月21日
jquery js获取移动设备浏览器高度
摘要: document.documentElement.clientHeight 高度document.documentElement.clientWidth 宽度兼容ie6+
阅读全文
posted @ 2015-01-21 10:15 nc_blog
阅读(1318)
评论(0)
推荐(0)
2015年1月16日
Jquery hover 事件中在 IE 中存在的 BUG
摘要: blog.sina.com.cn/s/blog_76a8d80b01018jnf.htmlJquery hover 事件中在 IE 中存在的 BUGDecember 15th 2011评论(11) Jquery 也有 BUG ?是的!Jquery hover 事件在 IE 中就存在 Bug !因为帮...
阅读全文
posted @ 2015-01-16 10:52 nc_blog
阅读(638)
评论(0)
推荐(0)
2015年1月14日
打印局部页面
摘要: http://www.5ixuexiwang.com/html/biancheng/js/2014/0617/2035.html
阅读全文
posted @ 2015-01-14 17:51 nc_blog
阅读(110)
评论(0)
推荐(0)
2015年1月13日
媒体查询
摘要: (1)在link中使用@media:(2)在样式表中内嵌@media:@media screen and (max-width: 600px) {选择器{属性:属性值;}}//max-width: 600px指屏幕宽度最大为600px;
阅读全文
posted @ 2015-01-13 10:22 nc_blog
阅读(123)
评论(0)
推荐(0)
js this 做参数
摘要:
阅读全文
posted @ 2015-01-13 09:37 nc_blog
阅读(604)
评论(0)
推荐(0)
2015年1月12日
js 禁止回车提交表单
摘要: //禁止按回车提交$(document).ready(function(){$("input[@type='text']").each(function(){$(this).keypress(function(e){varkey=window.event?e.keyCode:e.which;if(k...
阅读全文
posted @ 2015-01-12 13:05 nc_blog
阅读(250)
评论(0)
推荐(0)
2015年1月8日
重置表单
摘要: function refresh1() { window.location.reload(true); }
阅读全文
posted @ 2015-01-08 10:04 nc_blog
阅读(83)
评论(0)
推荐(0)
2014年12月29日
Meta告知IE浏览器兼容模式
摘要: 在html的head头内如下写法,节选自http://www.xingzai.org/html-note/meta-tag-usage-order.html:其中最后一行是永远以最新的IE版本模式来显示网页的。另外加上Emulate模式Emulate模式后则更重视(细心的人会注意到,用IE9去访问带...
阅读全文
posted @ 2014-12-29 14:17 nc_blog
阅读(184)
评论(0)
推荐(0)
2014年12月26日
判断字符串是否全部为
摘要: 判断字符串是否全部为数字if(/^\d+$/.test(str)) { 全为数字,执行... }当然你也可以用isNaN来判断if(isNaN(str)){ str是个数字,执行...}
阅读全文
posted @ 2014-12-26 11:17 nc_blog
阅读(208)
评论(0)
推荐(0)
2014年12月11日
图标搜集网址
摘要: http://www.iconpng.com/
阅读全文
posted @ 2014-12-11 10:29 nc_blog
阅读(100)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
下一页
公告