摘要:
var a =[1,2,3]; //方法一: //alert(toString.call(a)); // "[object Array]" //方法二: //alert(a instanceof Array) //true //方法三: alert(a.constructor == Array) //true 阅读全文
摘要:
// 图片赖加载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&&... 阅读全文
摘要:
document.addEventListener('visibilitychange', function () { if (document.visibilityState == 'hidden') { normal_title = document.title; document.title = '你有正在进行的操作哦!'; } else d... 阅读全文