没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
<div id="banner" class="layout">
<script type=text/javascript>
<!--
var focus_width=1000//图片宽
var focus_height=248//图片高
var text_height=0//设置显示文字标题高度,最佳为20(如果不显示标题值设为0即可)
var swf_height = focus_height+text_height
//var pics=""
//var links=""
//var texts=""
<%
set db=conn.execute("select top 8 * from [banner] order by order_id asc")'默认显示八条最新广告
i=0
do while not db.eof
pics=pics&"|"&db("image")
links=links&"|"&db("url")
texts=texts&"|"&db("title")
db.moveNext
i=i+1
loop
response.write "var pics='"&right(pics,len(pics)-1)&"'"&vbcrlf
response.write "var links='"&right(links,len(links)-1)&"'"&vbcrlf
response.write "var texts='"&right(texts,len(texts)-1)&"'"&vbcrlf
%>
document.write('<object ID="focus_flash" 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/adplay.swf"><param name="quality" value="high"><param name="bgcolor" value="#6E0E02">');
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 ID="focus_flash" src="images/adplay.swf" wmode="opaque" FlashVars="pics='+pics+'&links='+links+'&texts='+texts+'&borderwidth='+focus_width+'&borderheight='+focus_height+'&textheight='+text_height+'" menu="false" bgcolor="#6E0E02" quality="high" width="'+ focus_width +'" height="'+ swf_height +'" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />');document.write('</object>');
//-->
<script type=text/javascript>
<!--
var focus_width=1000//图片宽
var focus_height=248//图片高
var text_height=0//设置显示文字标题高度,最佳为20(如果不显示标题值设为0即可)
var swf_height = focus_height+text_height
//var pics=""
//var links=""
//var texts=""
<%
set db=conn.execute("select top 8 * from [banner] order by order_id asc")'默认显示八条最新广告
i=0
do while not db.eof
pics=pics&"|"&db("image")
links=links&"|"&db("url")
texts=texts&"|"&db("title")
db.moveNext
i=i+1
loop
response.write "var pics='"&right(pics,len(pics)-1)&"'"&vbcrlf
response.write "var links='"&right(links,len(links)-1)&"'"&vbcrlf
response.write "var texts='"&right(texts,len(texts)-1)&"'"&vbcrlf
%>
document.write('<object ID="focus_flash" 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/adplay.swf"><param name="quality" value="high"><param name="bgcolor" value="#6E0E02">');
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 ID="focus_flash" src="images/adplay.swf" wmode="opaque" FlashVars="pics='+pics+'&links='+links+'&texts='+texts+'&borderwidth='+focus_width+'&borderheight='+focus_height+'&textheight='+text_height+'" menu="false" bgcolor="#6E0E02" quality="high" width="'+ focus_width +'" height="'+ swf_height +'" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />');document.write('</object>');
//-->
资源评论
black0311
- 粉丝: 19
- 资源: 34
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功