求网页左下角随鼠标滚动代码!因为有右下角代码了,想放多一个角下角的广告,谢谢! 40
急求网页左下角随鼠标滚动代码!因为有右下角代码了,想放多一个左下角的广告,谢谢!全部分都给你了.......................有人知道吗????晕,1楼的老...
急求网页左下角随鼠标滚动代码!因为有右下角代码了,想放多一个左下角的广告,谢谢!
全部分都给你了.......................有人知道吗????
晕,1楼的老兄.你完全牛头不对马嘴啊. 展开
全部分都给你了.......................有人知道吗????
晕,1楼的老兄.你完全牛头不对马嘴啊. 展开
展开全部
V这是左下角的 去44 吧 楼上的脑残...
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
<title>Untitled Page</title>
<script type="text/javascript">
function ac()
{
var top=document.documentElement.clientHeight+document.documentElement.scrollTop-55+'px';
document.getElementById('aa').style.top=top;
//var left=document.documentElement.clientWidth+document.documentElement.scrollLeft-70+'px';//70为广告的宽+20右边有边框所以加20
// document.getElementById('aa').style.left=left;
}
setInterval('ac()',10);
</script>
</head>
<body>
<div id='aa' style="width:50px;height:50px;position:absolute;top:0px;left:0px;border:1px solid #333">sadfdsaf</div>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
</div>
</body>
</html>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
<title>Untitled Page</title>
<script type="text/javascript">
function ac()
{
var top=document.documentElement.clientHeight+document.documentElement.scrollTop-55+'px';
document.getElementById('aa').style.top=top;
//var left=document.documentElement.clientWidth+document.documentElement.scrollLeft-70+'px';//70为广告的宽+20右边有边框所以加20
// document.getElementById('aa').style.left=left;
}
setInterval('ac()',10);
</script>
</head>
<body>
<div id='aa' style="width:50px;height:50px;position:absolute;top:0px;left:0px;border:1px solid #333">sadfdsaf</div>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
</div>
</body>
</html>
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询