<div style="width:454px; height:216px; position:absolute; left: 13px; top: 57px;">
<%
Set conn = Server.CreateObject("ADODB.Connection")
conn.Open "DRIVER={Microsoft Access Driver (*.mdb)}; DBQ="& Server.MapPath("db.mdb")
set rs=server.CreateObject("adodb.recordset")
sqlstr="select top 5 * from new where LM_ID=4 order by New_ID desc"
rs.open sqlstr,conn,1,3
if not rs.eof then
%>
<script language="JavaScript" type="text/javascript">
<%
do while not rs.eof
%>
ati('neirong.asp?id=<%=rs("New_ID")%>', '<%=rs("New_Url")%>', '<%=rs("New_Name")%>');
<%
rs.movenext
loop
%>
document.write('<embed src="images/pixviewer.swf" wmode="opaque" FlashVars="pics='+pics+'&links='+links+'&texts='+texts+'&borderwidth='+focus_width+'&borderheight='+focus_height+'&textheight='+text_height+'" menu="false" bgcolor="#F1F1F1" quality="high" width="'+ focus_width +'" height="'+ swf_height +'" allowScriptAccess="sameDomain" type="application/x-shockwave-flash"/>');
</script>
<%
End If
rs.close
set rs=nothing
%>
</div>
不调用数据库的时候直接输入文字路径时可以正常显示 加入ASP代码以后 页面无法显示图片 请高手帮忙看看哪里错了
------解决方案--------------------
在不显示图片的页面上,右键――查看源代码
看看出来的啥
对比理想效果看看