摘要:
JS: $("body").css("width", $(window).width()); CSS: body{ overflow-x: hidden;} 同理table $(".tableMain").css("width", $(".tableMainHead").css("width")); 阅读全文
摘要:
/* 取窗口滚动条高度 */function getScrollTop(){ var scrollTop=0; if(document.documentElement&&document.documentElement.scrollTop) { scrollTop=document.document 阅读全文
摘要:
//js 兼容各浏览器 var h = window.innerHeight || document.documentElement.clientHeight || document.body.clientHeight; //height var w = window.innerWidth || d 阅读全文
摘要:
<iframe src="index.html" id="iframepage" name="iframepage" frameBorder=0 scrolling=no width="100%" onLoad="reinitIframeEND();"> </iframe><script type= 阅读全文