熱點推薦:
您现在的位置: 電腦知識網 >> 編程 >> .NET編程 >> 正文

網頁qq客服代碼

2022-06-13   來源: .NET編程 

  <%

  adm_qq=""
QQ=split(adm_qq"")
for N= to UBound(QQ)
MyQQ=MyQQ+QQ(N)+":"
next
%>

  <html>
<head>
<meta httpequiv="ContentType" content="text/html; charset=gb">
<link rel="stylesheet" href="images/qqcss" type="text/css">
</head>

  <script>
var online= new Array();
if (!documentlayers)
documentwrite(<div id="divStayTopLeft" style="position:absolute">)
</script>
<layer id="divStayTopLeft">

  <table border="" width="" cellspacing="" cellpadding="">
<tr><td width=""><img border= src=images/kefu_upgif></td></tr>
<script src="%=Myqq%>"></script>

  <% for N= to UBound(QQ) %>

  <tr><td valign=middle  background=images/kefu_middlegif>
<script>
if (online[<%=n%>]==)
documentwrite("&nbsp;&nbsp;<img src=images/QQofflinegif border= align=middle><a class=qqb target=blank %=QQ(n)%>&Site=網主機&Menu=no title=客服不在線請留言><%=QQ(n)%></a>");
else
documentwrite("&nbsp;&nbsp;<img src=images/QQonlinegif border= align=middle><a class=qqa target=blank %=QQ(n)%>&Site=網主機&Menu=no title=在線即時交談><%=QQ(n)%></a>");
</script >
</td></tr>
<%next%>
<tr><td width=""><img border= src=images/kefu_downgif></td></tr>
</table>
</layer>
<script type="text/javascript">
//Enter "frombottom" or "fromtop"
var verticalpos="frombottom"
if (!documentlayers)
documentwrite(</div>)
function JSFX_FloatTopDiv()
{
 var startX =
 startY = ;
 var ns = (navigatorappNameindexOf("Netscape") != );
 var d = document;
 function ml(id)
 {
  var el=dgetElementById?dgetElementById(id):dall?dall[id]:dlayers[id];
  if(dlayers)elstyle=el;
  elsP=function(xy){thisstyleleft=x;thisstyletop=y;};
  elx = startX;
  if (verticalpos=="fromtop")
  ely = startY;
  else{
  ely = ns ? pageYOffset + innerHeight : documentbodyscrollTop + documentbodyclientHeight;
  ely = startY;
  }
  return el;
 }
 windowstayTopLeft=function()
 {
  if (verticalpos=="fromtop"){
  var pY = ns ? pageYOffset : documentbodyscrollTop;
  ftlObjy += (pY + startY ftlObjy)/;
  }
  else{
  var pY = ns ? pageYOffset + innerHeight : documentbodyscrollTop + documentbodyclientHeight;
  ftlObjy += (pY startY ftlObjy)/;
  }
  ftlObjsP(ftlObjx ftlObjy);
  setTimeout("stayTopLeft()" );
 }
 ftlObj = ml("divStayTopLeft");
 stayTopLeft();
}
JSFX_FloatTopDiv();
</script>
</html>


From:http://tw.wingwit.com/Article/program/net/201311/14187.html
    推薦文章
    Copyright © 2005-2022 電腦知識網 Computer Knowledge   All rights reserved.