摘要:
function IsPC() { var userAgentInfo = navigator.userAgent; var Agents = new Array("Android", "iPhone", "SymbianOS", "Windows Phone", "iPad", "iPod"); 阅读全文
摘要:
var element = document.getElementById("box"); element.scrollIntoView();//顶部 element.scrollIntoView(false);//底部 element.scrollIntoView({block: "end"}); element.scrollIntoView({behavior: "instant", b... 阅读全文