摘要:
function appendHTML(container,html,position){ position =position || 'after'; var objE = document.createElement("div"), nodes=null, ... 阅读全文
摘要:
// Determine if an element is in the visible viewportfunction isInViewport(element) { var rect = element.getBoundingClientRect(); var html = documen... 阅读全文