买化妆品要注意什么:求点击显示下载地址代码

来源:百度文库 编辑:杭州交通信息网 时间:2024/05/03 17:41:22
怎样做要点击三个或四个广告才能显示下载地址??
一楼那位!代码是不是有错误的?!
HTTP 500 - 内部服务器错误
Internet Explorer

错误类型:
Microsoft VBScript 编译器错误 (0x800A0408)
无效字符
/reg1.asp, line 129, column 33
response.write("<center><a href="软件下载地址">点击这里下载</a></center>" target=_blank target=_blank)
--------------------------------^

就是那种点击广告后显示下载地址的那种。。
忙了一上午。。
大体的代码如下:

<!-------------麻烦把广告放到下面------------->

<script language="javascript" type="text/javascript">
<!--
function will() {
if (event.srcElement.tagName=='A'||event.srcElement.tagName=='IMG') {
window.focus();
oUrl.style.display = "";
yAd.style.display = "none";
documents.cookie='xinsoft=yes';
}
}

function get_cookie(Name) {

var search = Name + "="

var returnvalue = "";

if (documents.cookie.length > 0) {

offset = documents.cookie.indexOf(search)

if (offset != -1) { // if cookie exists

offset += search.length

// set index of beginning of value

end = documents.cookie.indexOf(";", offset);

// set index of end of cookie value

if (end == -1)

end = documents.cookie.length;

returnvalue=unescape(documents.cookie.substring(offset, end))

}

}

return returnvalue;
}
//-->
</script>
<center>
<div id="yAd">
<table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="#999999">
<tr bgcolor="#FFFFFF">
<td height="25" colspan="2"> <font color="#FF0000"> 防止盗链,请你点击下面广告!依次点击完广告后下载的内容即可出现!
</font> </td>
</tr>
<tr bgcolor="#FFFFFF">
<td width="43%" height="35"> <font color="#FF00FF" class="ads">
第一步:点击右边优秀广告</font></td>
<td width="57%" height="90">

<script type="text/javascript"><!--
google_ad_client = "pub-6088666653182828";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "text_image";
google_ad_channel ="";
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></td>
</tr>
<tr bgcolor="#FFFFFF">
<td height="25"> <font color="#FF00FF" class="ads"> 第二步:注册右边雅虎1G邮箱</font></td>
<td height="90">

<a href="广告2"><script type="text/javascript"><!--
google_ad_client = "pub-6088666653182828";
google_ad_width = 234;
google_ad_height = 60;
google_ad_format = "234x60_as";
google_ad_type = "text_image";
google_ad_channel ="";
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></td>
</tr>
<tr bgcolor="#FFFFFF">
<td height="25"> <font color="#FF00FF" class="ads">第三步:点击右边宣传
搜索广告</font></td>
<td height="90"> <base target="_blank" onclick="javascript:will()">
<!-- Search Google -->
<center>
<form method="get" action="http://www.google.com/custom" target="_top">
<table bgcolor="#ffffff">
<tr><td nowrap="nowrap" valign="top" align="left" height="32">
<a href="http://www.google.com/">
<img src="Logo_25wht.gif" border="0" alt="Google" align="middle" width="75" height="32"></img></a>
<input type="text" name="q" size="31" maxlength="255" value=""></input>
<input type="submit" name="sa" value="搜索"></input>
<input type="hidden" name="client" value="pub-6088666653182828"></input>
<input type="hidden" name="forid" value="1"></input>
<input type="hidden" name="ie" value="GB2312"></input>
<input type="hidden" name="oe" value="GB2312"></input>
<input type="hidden" name="cof" value="GALT:#008000;GL:1;DIV:#336699;VLC:663399;AH:center;BGC:FFFFFF;LBGC:336699;ALC:0000FF;LC:0000FF;T:000000;GFNT:0000FF;GIMP:0000FF;FORID:1;"></input>
<input type="hidden" name="hl" value="zh-CN"></input>
</td></tr></table>
</form>
</center>
<!-- Search Google -->
</td>
</tr>
<tr bgcolor="#FFFFFF">
<td height="25" colspan="2"> <font color="#FF0000"> 说明:支持本站的发展,请依次点击上面三个广告即可下载!</font>
</td>
</tr>
</table>
</div>
<div id="oUrl" style="display:'none'">
<TABLE align=center bgColor=#CCCCCC border=0 cellPadding=0
cellSpacing=1 style="WORD-BREAK: break-all" width="100%">
<TBODY>
<TR>
<TD height="1" colspan="2" bgColor=#fffffe style="LINE-HEIGHT: 16px"></TD>
</TR>
<TR>
<TD width="67%" height="26" bgColor=#fffffe style="LINE-HEIGHT: 16px">
<%
response.write("<center><a href="软件下载地址">点击这里下载</a></center>" target=_blank target=_blank)%>
</TD>
<TD width="33%" bgColor=#fffffe style="LINE-HEIGHT: 16px">

/////////////////////////放上其他广告
</TD>
</TR>
</TBODY>
</TABLE>
</div>

</center>

<script language="javascript">
if (get_cookie('xinsoft') !='') {
oUrl.style.display = "";
yAd.style.display = "none";
}
else{
oUrl.style.display = "none";
yAd.style.display = "";
}
</script>