请教 在幻灯里加上超连接!
<%set rst=server.createobject("adodb.recordset")
idm="图片新闻"
sqlt="select * from article where lanmu='"&idm&"'order by id desc"
rst.open sqlt,conn,1,3
aa1="pic/"+rst("pic")
rst.movenext
aa2="pic/"+rst("pic")
rst.movenext
aa3="pic/"+rst("pic")
rst.movenext
aa4="pic/"+rst("pic")
%>
<script language="javascript">
var imgUrl=new Array();
var imgLink=new Array();
var imgText=new Array();
imgLink[1]="http://www.
imgUrl[1]="<%=aa1%>"
imgUrl[2]="http://www.
imgUrl[2]="<%=aa2%>"
imgLink[3]="http://
imgUrl[3]="<%=aa3%>"
imgLink[4]="www.
imgUrl[4]="<%=aa4%>"
var focus_width=260;
var focus_height=150;
var text_height=0;
var swf_height = focus_height;
var j=0;
for (i=1;i<=4;i++) {
if( (imgUrl[i]!="") && (imgLink[i]!="") ) {j++;} else {break;}
}
var pics="";
var links="";
var texts="";
var linkk="";
for (i=1;i<=j;i++) {
pics=pics+imgUrl[i];
linkk=linkk+imgLink[i];
if( (i<j)) {pics=pics+"|";}
if( (i<j)) {links=links+"|";}
texts=texts+imgText[i];
if( (i<j)) {texts=texts+"|";}
}
document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.,0,0,0" width="'+ focus_width +'" height="'+ swf_height +'">');
document.write('<param name="allowScriptAccess" value="sameDomain"><param name="movie" value="http://pic.hjsm. name="quality" value="high"><param name="bgcolor" value="#dfdfdf">');
document.write('<param name="menu" value="false"><param name=wmode value="opaque">');
document.write('<param name="FlashVars" value="pics='+pics+'&links='+links+'&texts='+texts+'&borderwidth='+focus_width+'&borderheight='+focus_height+'&textheight='+text_height+'">');
</script>