加在你要显示的网页的最下面就可以了!要想每个页面都显示就加在底部文件中或是每个页面都会调用的那个文件 ,我们就是专业做QQ代码的。
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>网页特效观止|JsCode.CN|---腾讯QQ网页,随网页滚动条上下移动的效果一</title>
</head>
<body>
<!--star: QQ -->
<DIV id=divStay >
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY>
<TR>
<TD vAlign=top width="7%"> </TD></TR></TBODY></TABLE></DIV>
<SCRIPT language=javascript>
function picsize(obj,MaxWidth){
img=new Image();
img.src=obj.src;
if (img.width>MaxWidth)
{
return MaxWidth;
}
else
{
return img.width;
}
}
function CloseQQ()
{
divStayTopleft.style.display="none";
return true;
}
var online= new Array();
</SCRIPT>
<div id="divStayTopleft" >
<table cellspacing="0" cellpadding="0" width="109" border="0">
<tr>
<td colspan="3">
<a onclick="CloseQQ()" href="javascript:;" shape="circle" coords="91,16,12">
<img height="34" src="../Uploadfile/qq_top.gif" width="109" usemap="#Map" border="0"></a></td>
</tr>
<tr>
<td width="6"><img height="100" src="../Uploadfile/qq_life.gif" width="6"></td>
<td valign="top" width="96" background="../Uploadfile/qq_bg.gif">
<table cellspacing="0" cellpadding="0" width="90" align="center" border="0">
<tr>
<td height="30">
<table cellspacing="0" cellpadding="0" width="90" border="0">
<tr>
<td>
<img height="13" src="../Uploadfile/qq_ico1.gif" width="16"><span class="font_12">
<span >客户服务</span></span></td>
</tr>
</table>
</td>qq人工客服
</tr>
<tr>
<td>
<table border="0" width="100%" cellpadding="2" id="table47">
<tr>
<td width="15" valign="top" height="23">
<img border="0" src="../Uploadfile/qq_v01.gif" width="16" height="16"></td>
<td valign="bottom"><script>document.write("<a target=blank href=tencent://message/?uin=615050000&Site=网页特效观止&Menu=yes><img border=0 SRC=wpa.qq/pa?p=1:615050000:10 alt=[小Q]></a>");</script></td>
</tr>
</table>
</td>
</tr>
<tr>
<td></td>
</tr>
<tr>
<td>
<table border="0" width="100%" cellpadding="2" id="table47">
<tr>
<td width="15" valign="top" height="23">
<img border="0" src="../Uploadfile/qq_n01.gif" width="16" height="16"></td>
<td valign="bottom"><script>document.write("<a target=blank href=tencent://message/?uin=4348683
1&Site=网页特效观止&Menu=yes><img border=0 SRC=wpa.qq/pa?p=1:43486831:10 alt=[这是在远方原来的qq被现在这个人盗了]></a>");</script></td>
</tr>
</table>
</td>
</tr>
<tr>
<td></td>
</tr>
</table>
</td>
<td width="7"><img height="100" src="../Uploadfile/qq_right.gif" width="7"></td>
</tr>
<tr>
<td colspan="3">
<img height="30" src="../Uploadfile/qq_bottom1.gif" width="109"></td>
</tr>
<tr>
<td colspan="3">
<img height="33" src="../Uploadfile/qq_logo.gif" width="109"></td>
</tr>
</table>
</div>
<script type="text/javascript">
function FloatTop()
{
var startX1 =document.body.offsetWidth-125 ,startY1 = 5;
var startX2 =0,startY2 = 95;
var ns = (navigator.appName.indexOf("Netscape") != -1);
var d = document;
function ml(id,startX,startY)
{
var ElementById(id):d.all?d.all[id]:d.layers[id];
if(d.layers)el.style=el;
el.sP=function(x,y){this.style.left=x;p=y;};
el.x = startX;
el.y = startY;
return el;
}
window.stayTopLeft=function()
{
var pY = ns ? pageYOffset : document.body.scrollTop;
ftlObj.y += (pY + startY1 - ftlObj.y)/8;
ftlObj1.y += (pY + startY2 - ftlObj1.y)/8;
ftlObj.sP(document.body.scrollLeft+document.body.offsetWidth-125, ftlObj.y);
ftlObj1.sP(ftlObj1.x, ftlObj1.y);
setTimeout("stayTopLeft()", 30);
}
//  ftlObj = ml("divStay",document.body.scrollLeft+document.body.offsetWidth-125,0);
//  ftlObj1 = ml("divStayTopLeft",0,30);
ftlObj = ml("divStay",(document.body.scrollLeft+document.body.offsetWidth)/2+379,0);
ftlObj1 = ml("divStayTopLeft",(document.body.scrollLeft+document.body.offsetWidth)/2+379,30);
stayTopLeft();
}
FloatTop();
</script>
<!--End: QQ -->
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p>  </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p>  </p>
</body>
</html> 

版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系QQ:729038198,我们将在24小时内删除。