<SCRIPT type=text/javascript>
<!--
var focus_width=240
var focus_height=150
var text_height=0
var swf_height = focus_height+text_height
var pics='http://image2.sina.com.cn/ent/U1431P28T140D1F2892DT20060220235413.jpg|http://image2.sina.com.cn/ent/U92P28T140D1F2896DT20060220121356.jpg|http://image2.sina.com.cn/ent/U1431P28T140D1F2894DT20060220221939.jpg|http://image2.sina.com.cn/ent/U1431P28T140D1F2826DT20060220221939.jpg|http://image2.sina.com.cn/ent/U1326P28T140D1F2890DT20060221071719.JPG'
var links='http://ent.sina.com.cn/f/y/tysgcanada/index.shtml|http://ent.sina.com.cn/m/f/2006-02-20/1145990999.html|http://ent.sina.com.cn/y/2006-02-20/ba991422.shtml|http://ent.sina.com.cn/y/2006-02-20/ba991105.shtml|http://ent.sina.com.cn/h/2006-02-20/ba991532.shtml'
var texts='||||'
document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="'+ focus_width +'" height="'+ swf_height +'">');
document.write('<param name="allowScriptAccess" value="sameDomain"><param name="movie" value="image/pixviewer.swf"><param name="quality" value="high"><param name="bgcolor" value="#ffffff">');
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+'">');
document.write('<embed src="http://image2.sina.com.cn/bj/zonghe/pixviewer.swf" wmode="opaque" FlashVars="pics='+pics+'&links='+links+'&texts='+texts+'&borderwidth='+focus_width+'&borderheight='+focus_height+'&textheight='+text_height+'" menu="false" bgcolor="#ffffff" quality="high" width="'+ focus_width +'" height="'+ focus_height +'" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />'); document.write('</object>');
//-->
</SCRIPT>
<!--焦点图结束-->
这段程序中的pics是图片地址,links是页面地址,各有五个
如何把他们同<%Set rs = Server.CreateObject("ADODB.Recordset")
strsql="SELECT top 7 * FROM news where newsclass='4' or newsclass='5' or newsclass='6' or newsclass='7' or newsclass='8' or newsclass='9' or newsclass='10' or newsclass='11' or newsclass='12' or newsclass='13' or newsclass='14' or newsclass='15' ORDER BY newsid desc"
rs.Open strsql,conn,1
%>这种语句链接起来