漂定

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

2013年4月18日

摘要: var arr = [6,5,2,8,3]; var m = Math.min.apply(null,arr); alert(m); 阅读全文
posted @ 2013-04-18 11:44 漂定 阅读(217) 评论(0) 推荐(0) 编辑

摘要: function reachBottom() { var scrollTop = 0; var clientHeight = 0; var scrollHeight = 0; if (document.documentElement && document.documentElement.scrollTop) { scrollTop = document.documentElement.scrollTop; } else if (document.body) { scrollTop = document.body.scr... 阅读全文
posted @ 2013-04-18 11:33 漂定 阅读(229) 评论(0) 推荐(0) 编辑