2018年6月7日

摘要: var a =[1,2,3]; //方法一: //alert(toString.call(a)); // "[object Array]" //方法二: //alert(a instanceof Array) //true //方法三: alert(a.constructor == Array) //true 阅读全文
posted @ 2018-06-07 09:44 婆婆买了只kitty 阅读(89) 评论(0) 推荐(0) 编辑
摘要: html如下 js如下: 阅读全文
posted @ 2018-06-07 08:53 婆婆买了只kitty 阅读(97) 评论(0) 推荐(0) 编辑
摘要: // 图片赖加载js代码 window.Echo=(function(window,document,undefined){'use strict';var store=[],offset,throttle,poll;var _inView=function(el){var coords=el.getBoundingClientRect();return((coords.top>=0&&... 阅读全文
posted @ 2018-06-07 08:51 婆婆买了只kitty 阅读(90) 评论(0) 推荐(0) 编辑
摘要: document.addEventListener('visibilitychange', function () { if (document.visibilityState == 'hidden') { normal_title = document.title; document.title = '你有正在进行的操作哦!'; } else d... 阅读全文
posted @ 2018-06-07 08:50 婆婆买了只kitty 阅读(178) 评论(0) 推荐(0) 编辑

导航