<!--对比弹窗js-->
<div id="float" style="position:absolute;"><a href="javascript:void(0);" onclick="gotop();" title="返回顶部" rel="nofollow"><img src="http://images.cnblogs.com/index_up.gif" alt=""/></a></div>
<script language="javascript">
function gotop(){
document.documentElement.scrollTop = 0;
}
function rightBottomAd() {
var abc = document.getElementById("float");
abc.style.top = document.documentElement.scrollTop + document.documentElement.clientHeight - 55 + "px";
abc.style.left = document.documentElement.scrollLeft + document.documentElement.clientWidth - 55 + "px";
setTimeout(function() { rightBottomAd(); }, 50);
}
rightBottomAd();
</script>
![](https://img2024.cnblogs.com/blog/35695/202408/35695-20240826070647288-243310440.jpg)