<a target=_self href="javascript:goUrl()">
<span class="f14b">
<script type="text/javascript">
<%set rs=server.createobject("adodb.recordset")
sql="select top 5 * from [表名] order by id desc"
rs.open sql,conn,1,1
aa=rs.recordcount
for i=1 to rs.recordcount%>
imgUrl <%=i%> ="bigimg/ <%=rs("图片文件名")%> ";
imgtext <%=i%> =" <%=rs("标题")%> "
imgLink <%=i%> =escape("show_pic.asp?id= <%=rs("id")%> ");
<%rs.movenext
next
%> var focus_width=175
var focus_height=140
var text_height=15
var swf_height = focus_height+text_height
var pics=""
<%for i=1 to rs.recordcount
if i=rs.recordcount then%>
pics=pics+imgUrl <%=i%>
<%else%>
pics=pics+imgUrl <%=i%> +" ¦"
<%end if%>
<%next%>
var links=""
<%for i=1 to rs.recordcount
if i=rs.recordcount then%>
links=links+imgLink <%=i%>
<%else%>
links=links+imgLink <%=i%> +" ¦"
<%end if
next%>
var texts=""
<%for i=1 to rs.recordcount
if i=rs.recordcount then%>
texts=texts+imgtext <%=i%>
<%else%>
texts=texts+imgtext <%=i%> +" ¦"
<%end if
next
rs.close
set rs=nothing%>
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="images/focus.swf"> <param name="quality" value="high"> <param name="bgcolor" value="#F0F0F0"> ');
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="pixviewer.swf" wmode="opaque" FlashVars="pics='+pics+'&links='+links+'&texts='+texts+'&borderwidth='+focus_width+'&borderheight='+focus_height+'&textheight='+text_height+'" menu="false" bgcolor="#F0F0F0" 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>
</span>
</a>
<span class="f14b">
<script type="text/javascript">
<%set rs=server.createobject("adodb.recordset")
sql="select top 5 * from [表名] order by id desc"
rs.open sql,conn,1,1
aa=rs.recordcount
for i=1 to rs.recordcount%>
imgUrl <%=i%> ="bigimg/ <%=rs("图片文件名")%> ";
imgtext <%=i%> =" <%=rs("标题")%> "
imgLink <%=i%> =escape("show_pic.asp?id= <%=rs("id")%> ");
<%rs.movenext
next
%> var focus_width=175
var focus_height=140
var text_height=15
var swf_height = focus_height+text_height
var pics=""
<%for i=1 to rs.recordcount
if i=rs.recordcount then%>
pics=pics+imgUrl <%=i%>
<%else%>
pics=pics+imgUrl <%=i%> +" ¦"
<%end if%>
<%next%>
var links=""
<%for i=1 to rs.recordcount
if i=rs.recordcount then%>
links=links+imgLink <%=i%>
<%else%>
links=links+imgLink <%=i%> +" ¦"
<%end if
next%>
var texts=""
<%for i=1 to rs.recordcount
if i=rs.recordcount then%>
texts=texts+imgtext <%=i%>
<%else%>
texts=texts+imgtext <%=i%> +" ¦"
<%end if
next
rs.close
set rs=nothing%>
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="images/focus.swf"> <param name="quality" value="high"> <param name="bgcolor" value="#F0F0F0"> ');
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="pixviewer.swf" wmode="opaque" FlashVars="pics='+pics+'&links='+links+'&texts='+texts+'&borderwidth='+focus_width+'&borderheight='+focus_height+'&textheight='+text_height+'" menu="false" bgcolor="#F0F0F0" 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>
</span>
</a>
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货