ASP JS QQ Customer Service Code

Source: Internet
Author: User

<%

If webbanner<> "" Then
Qq=split (Webbanner, ",")
For N=0 to UBound (QQ)
MYQQ=MYQQ+QQ (N) + ":"
Next
%>

<meta http-equiv= "Content-type" content= "text/html; charset=gb2312 ">
<link rel= "stylesheet" href= "images/qq.css Tutorial" type= "Text/css" >

<script>
var online= new Array ();
if (!document.layers)
document.write (' <div id= "divstaytopright" style= "Position:absolute" > ")
</script>
<layer id= "Divstaytopright" >

<table border= "0" width= "cellspacing=" 0 "cellpadding=" 0 ">
<tr>
&LT;TD width= "></td>
</tr>

<tr>
&LT;TD Valign=right background=images/mingle/qqmiddle.gif >
<%for i=0 to UBound (QQ)%><a Target=blank href=tencent://message/?uin=<%=qq (i)%>&site=<%= Webname%>&menu=yes>&nbsp:10" border= "0" align = "Middle" ></a><br><%next%>
<% if Msn<> "" then%> &nbsp<a href= "msnim:chat?contact=<%=msn%>" target= "_blank" >msn customer service </a><%end if%>
</td>
&LT;/TR&GT;&LT;TR&GT;&LT;TD height=3 background=images/mingle/qqmiddle.gif width=73 ></td></tr>
<tr>
<td></td>
</tr>
<tr>
&LT;TD background= "Images/mingle/serly.gif" Width=73><a href=viewreturn.asp></a></td>
</tr>

</table>
</layer>
<script type= "text/web Effects" >
Enter "Frombottom" or "Fromtop"
var verticalpos= "Frombottom"
if (!document.layers)
document.write (' </div> ')
function Jsfx_floattopdiv ()
{

var startx = 0,

Starty = 460;
var ns = (navigator.appname.indexof ("Netscape")!=-1);
var d = document;
function ml (ID)
{
var El=d.getelementbyid?d.getelementbyid (ID):d. all?d.all[id]:d. Layers[id];
if (d.layers) El.style=el;
El.sp=function (x,y) {this.style.right=x;this.style.top=y;};
el.x = StartX;
if (verticalpos== "Fromtop")
El.y = Starty;
else{
EL.Y = ns? pageYOffset + innerheight:document.body.scrolltop + document.body.clientheight;
EL.Y-= Starty;
}
Return el;
}
Window.staytopright=function ()
{
if (verticalpos== "Fromtop") {
var py = ns? Pageyoffset:document.body.scrolltop;
Ftlobj.y + = (py + starty-ftlobj.y)/8;
}
else{
var py = ns? pageYOffset + innerheight:document.body.scrolltop + document.body.clientheight;
Ftlobj.y + + = (PY-STARTY-FTLOBJ.Y)/8;
}
FTLOBJ.SP (ftlobj.x, FTLOBJ.Y);
SetTimeout ("Staytopright ()", 10);
}
Ftlobj = ml ("divstaytopright");
Staytopright ();
}
Jsfx_floattopdiv ();
</script>
<% End If%>

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.