只要能浮动的就行,其余的不要,而且要符合
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">标准
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">标准
<script language="JavaScript">
lastScrollY=0;
function heartBeat(){
diffY=document.body.scrollTop;
percent=.1*(diffY-lastScrollY);
if(percent>0)percent=Math.ceil(percent);
else percent=Math.floor(percent);
document.all.makewing.style.pixelTop+=percent;
lastScrollY=lastScrollY+percent;
}
suspendcode45="<DIV id=makewing style='POSITION:absolute;TOP:18px;'><A HREF='http://www.0631abc.com' target=_blank Title=威海ABC'><img src=http://121.img.pp.sohu.com/images/blog/2007/11/5/12/21/116a9a71f9e.jpg' border=0></A></div>"
document.write(suspendcode45);
window.setInterval("heartBeat()",1);
</script>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>无标题文档</title></head>
<script type="text/javascript" src="jquery-1.4.2.js"></script>
<script type="text/javascript">
$(document).ready(function(){
$(window).scroll(function(){
$("#u410_container").css({
"top":$(this).scrollTop()+200
})
});
})
</script><body>
<div id="contrast" style='right:25px;POSITION:absolute;TOP:200px;display:none;' onClick="hidden() ">+++ </div><div id="u410_container" style='right:25px;POSITION:absolute;TOP:200px;'>
<h2>开始对比</h2>
<div class="box" id="u413_img" >
<ul></ul>
</div>
<p class="box">
<input type="button" id="u427" name="ddd" disabled value="开始对比" >
<a href="#?" onclick="clearAllCookies()" >清空</a>
</p>
<p class="box"><a href="#" onclick="cl()">收起</a></p>
</div>
</body>
</html>能滚