摘要:
参考链接:https://github.com/joshbuchea/HEAD 阅读全文
摘要:
如果没有参数传递给 jQuery.when(),它会返回一个resolved状态的Promise。 如果向 jQuery.when() 传入一个单独的延迟对象,那么会返回它的 Promise 对象(延迟方法的一个子集)。可以继续绑定 Promise 对象的其它方法,例如, defered.then 阅读全文
摘要:
/******************** * 取窗口滚动条高度 ******************/function getScrollTop(){ var scrollTop=0; if(document.documentElement&&document.documentElement.sc 阅读全文