请问谁能帮我在这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]]