Chinaunix首页 | 论坛 | 博客
  • 博客访问: 834037
  • 博文数量: 182
  • 博客积分: 1992
  • 博客等级: 上尉
  • 技术积分: 1766
  • 用 户 组: 普通用户
  • 注册时间: 2010-10-18 11:49
文章分类

全部博文(182)

文章存档

2019年(1)

2016年(5)

2015年(29)

2014年(38)

2013年(21)

2012年(36)

2011年(52)

我的朋友

发布时间:2015-05-05 15:35:40

http://www.blogjava.net/conans/articles/364566.html<script> function getInfo() { var s = ""; s += " 网页可见区域宽:"+ document.body.clientWidth; s += " 网页可见区域高:"+ document.body.clientHeight; s += " 网页可见区域宽:"+ document.body.offsetWidth + " (包括.........【阅读全文】

阅读(870) | 评论(0) | 转发(0)

发布时间:2014-04-11 13:45:59

http://stackoverflow.com/questions/1403615/use-jquery-to-hide-a-div-when-the-user-clicks-outside-of-it点击(此处)折叠或打开$(document).mouseup(function(e) {        var cityContainer = $("#hiddenDiv"); .........【阅读全文】

阅读(828) | 评论(0) | 转发(0)

发布时间:2014-01-21 12:22:15

jquery mobile中<a>默认是ajax加载,也就是在同一个页面内有多页面个data-role='page',而此时如果两个页面的javacript在document.read中都会被执行,如果在第一个页面中加了scroll中监听,第二个页面中也会响应。所以如果要分开页面,在a链接中加上<a href="/mobile/ListView.jsp" data-ajax="false" data-role="none" ro.........【阅读全文】

阅读(962) | 评论(0) | 转发(0)
给主人留下些什么吧!~~
留言热议
请登录后留言。

登录 注册