| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 900 人关注过本帖
标题:请问谁能帮我在这ASP代码里面填加淘宝旺旺的连接
只看楼主 加入收藏
haisong520
Rank: 1
等 级:新手上路
帖 子:1
专家分:0
注 册:2007-12-4
收藏
 问题点数:0 回复次数:2 
请问谁能帮我在这ASP代码里面填加淘宝旺旺的连接
我会设计的请加我QQ51337111 

我想加淘宝旺旺的代码进去,我去旺旺得到的代码是
<a target="_blank" href="[url=http://amos1.]http://amos1.[/url]" ><img border="0" src="[url=http://amos1.]http://amos1.[/url]" alt="点击这里给我发消息" /></a>

下面就是我的ASP代码(也就是这段代码中,我想加入上面的代码,要怎么修改才好呢!)
<%
if adm_qq<>"" and qqonline=1 then
adm_qq=replace(adm_qq,",",",")
if isnull(adm_qq_name) or adm_qq_name="" then adm_qq_name=adm_qq
adm_qq_name=replace(adm_qq_name,",",",")
QQ_NAME=split(adm_qq_name,",")
QQ=split(adm_qq,",")
for N=0 to UBound(QQ)
MyQQ=MyQQ+QQ(N)+":"
next
%>
<script language="javascript">
var online= new Array();
if (!document.layers)
document.write('<div id="divStayTopLeft" style="position:absolute">')
</script>
<layer id="divStayTopLeft">
<table border="0" cellspacing="0" cellpadding="0">
<tr><td><img border=0 src=images/qq/up<%=kefuskin%>.gif></td></tr>
<script src="[url=http://webpresence.]http://webpresence.[/url]>
<tr><td>
<table width=118 border=0 bgcolor=#FFFFFF background=images/qq/mid<%=kefuskin%>.gif>
<%
for N=0 to UBound(QQ)
%>
<script>
if (online[<%=n%>]==0)
document.write("<tr><td align=right><a class='c' target=blank href='http://wpa.(n)%>&Site=<%=sitename%>&Menu=no'><img alt='<p align=left><%=qqmsg_off%>' src=images/qq/QQoff<%=qqskin%>.gif border=0 align=middle></a></td><td><a class='c' target=blank href='http://wpa.(n)%>&Site=<%=sitename%>&Menu=no' alt='<p align=left><%=qqmsg_off%>'><%=QQ_name(n)%></a></td></tr>");
else
document.write("<tr><td align=right><a class='b' target=blank href='http://wpa.(n)%>&Site=<%=sitename%>&Menu=no'><img alt='<p align=left><%=qqmsg_on%>' src=images/qq/QQon<%=qqskin%>.gif border=0 align=middle></a></td><td><a class='b' target=blank href='http://wpa.(n)%>&Site=<%=sitename%>&Menu=no' alt='<p align=left><%=qqmsg_on%>'><%=QQ_name(n)%></a></td></tr>");
</script >
<%next%>
</table></td></tr>
<tr><td><img border=0 src=images/qq/down<%=kefuskin%>.gif></td></tr>
</table>
</layer>
<%
if whereqq=1 then
%>
<script type="text/javascript">
var verticalpos="frombottom"
if (!document.layers)
document.write('</div>')
function JSFX_FloatTopDiv()
{
var startX =2,
startY = 220;
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.left=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.stayTopLeft=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("stayTopLeft()", 10);
}
ftlObj = ml("divStayTopLeft");
stayTopLeft();
}
JSFX_FloatTopDiv();
</script>
<%else%>
<script type="text/javascript">
var verticalpos="frombottom"
if (!document.layers)
document.write('</div>')
function JSFX_FloatTopDiv()
{
var startX =screen.width-140,
startY = 220;
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.left=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.stayTopLeft=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("stayTopLeft()", 10);
}
ftlObj = ml("divStayTopLeft");
stayTopLeft();
}
JSFX_FloatTopDiv();
</script>
<%
end if
end if
%>

[[italic] 本帖最后由 haisong520 于 2007-12-4 19:34 编辑 [/italic]]

未命名.jpg (5.6 KB)
图片附件: 游客没有浏览图片的权限,请 登录注册
搜索更多相关主题的帖子: 淘宝 旺旺 ASP 代码 
2007-12-04 18:31
feiyaogzs
Rank: 1
等 级:新手上路
帖 子:1
专家分:0
注 册:2007-12-7
收藏
得分:0 
w
wwwwwwwwwwwwwwwwwwwwwwwww
2007-12-07 12:55
梦灵儿
Rank: 3Rank: 3
等 级:新手上路
威 望:8
帖 子:260
专家分:9
注 册:2007-8-7
收藏
得分:0 
你的想法应该是这样的吧!让用户点到这个链接的时候就弹出你这个客服的QQ聊天的吧!

2007-12-07 18:56
快速回复:请问谁能帮我在这ASP代码里面填加淘宝旺旺的连接
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.027392 second(s), 8 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved