日期:2014-05-16 浏览次数:20774 次
var advInitTop = 0;
function initx() {
advInitTop = document.getElementById("adv").style.pixelTop;
}
function move() {
document.getElementById("adv").style.pixelTop = document.documentElement.scrollTop + advInitTop;
}
window.onscroll=move();