求一个随页面浮动的视频窗口js代码
展开全部
浮动广告 var initTop=0; var initLeft=0;function init(){ initTop = document.getElementById("advLayer").style.pixelTop; initTop = document.getElementById("advLayer0").style.pixelTop; }function move(){ document.getElementById("advLayer").style.pixelTop=initTop+document.body.scrollTop; document.getElementById("advLayer0").style.pixelTop=initTop+document.body.scrollTop; } window.onscroll=move; x www.baidu.com"</A> width="200" height="215" marginwidth="0" marginheight="0" hspace="0" vspace="0" frameborder="0" scrolling="no">
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询