If you need to introduce external Js, you need to refresh to execute ]<script>
var delay = 30; //循环间隔
setInterval('disPosition()', delay); //以下函数为获得当前窗口的可见高度
function disPosition(){
oTop=document.documentElement.scrollTop;
oBottom=div_absmiddle.offsetTop*2 + div_absmiddle.offsetHeight - 20 + document.documentElement.scrollTop;
}
</script>
Statement:The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn