js把div固定在页面的右下角
2020-12-13 05:28
标签:style c http a get com http://www.ablanxue.com/prone_2866_1.html window.parent.onscroll = window.parent.onresize = window.onload
=function () { js把div固定在页面的右下角,搜素材,soscw.com js把div固定在页面的右下角 标签:style c http a get com 原文地址:http://www.cnblogs.com/wanliyuan/p/3737368.html
var oFix_box =
document.getElementById(‘select-panel‘);
var oscrollTop =
window.parent.document.documentElement.scrollTop ||
window.parent.document.body.scrollTop;
oFix_box.style.top = oscrollTop +
window.parent.document.documentElement.clientHeight - oFix_box.offsetHeight -
224 + ‘px‘;
$("#select-panel").stop(true,true).animate({ "top": top1 },
700);
}