随滚动条移动的上下左右中层
随滚动条移动的层-5iuu.com.div{position:absolute;border:2pxsolidred;background-color:#EFEFEF;line-height:90px;font-size:12px;z-index:1000;}正中...functionsc1(){document.getElementById("Javascript.Div1").style.top=document.body.scrollTop+(document.body.clientHeight-document.getElementById("Javascript.Div1").offsetHeight)/2document.getElementById("Javascript.Div1").style.left=document.body.scrollLeft+(document.body.clientWidth-document.getElementById("Javascript.Div1").offsetWidth)/2;}左上...functionsc2(){document.getElementById("Javascript.Div2").style.top=document.body.scrollTopdocument.getElementById("Javascript.Div2").style.left=document.body.scrollLeft;}左下...functionsc3(){document.getElementById("Javascript.Div3").style.top=document.body.scrollTop+document.body.clientHeight-document.getElementById("Javascript.Div3").offsetHeight;document.getElementById("Javascript.Div3").style.left=document.body.scrollLeft;}右上...functionsc4(){document.getElementById("Javascript.Div4").style.top=document.body.scrollTop;document.getElementById("Javascript.Div4").style.left=document.body.scrollLeft+document.body.clientWidth-document.getElementById("Javascript.Div4").offsetWidth;}右下...functionsc5(){document.getElementById("Javascript.Div5").style.top=document.body.scrollTop+document.body.clientHeight-document.getElementById("Javascript.Div5").offsetHeight;document.getElementById("Javascript.Div5").style.left=document.body.scrollLeft+document.body.clientWidth-document.getElementById("Javascript.Div5").offsetWidth;;}