关于ASP代码点击图片链接没有反应的问题

来源:百度知道 编辑:UC知道 时间:2024/07/02 15:18:29
我在页面上有一段循环播放图片的代码,有链接,但是点击图片或标题后没有任何反应,不知道什么原因,请各位指点一下。代码如下:

<script type=text/javascript>
<!--

var focus_width=206
var focus_height=190
var text_height=20
var swf_height = focus_height+text_height

//var pics=""
//var piclinks=""
//var texts=""
<%
set db=conn.execute("select top 5 * from [zixun] order by id desc")
i=0
do while not db.eof
pics=pics&"|"&db("tupian")
piclinks=piclinks&"|"&db("lianjie")
texts=texts&"|"&db("biaoti")
db.moveNext
i=i+1
loop
response.

//var pics=""
//var piclinks=""
//var texts=""

第一个是路径
第二个是连接
第三个是文字

这样 先定义一个 字符串变量 的 pics 和 piclinks 试验一次

如果图片显示出来了 表示数据库 没有读出来 或者读出来的类型不对

可以 先屏蔽部分调用 逐步试验

浏览器拦截了吧.