Discuz!官方免费开源建站系统

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

[疑难] 求助求助关于flash轮显的问题 不显示图片

[复制链接]
xjun87 发表于 2008-4-18 16:06:10 | 显示全部楼层 |阅读模式
<!--{block name="spaceblog" parameter="catid/11,12,13,14,15,16,17,18,19/haveattach/1/showattach/1/order/i.dateline
DESC/limit/0,5/cachetime/11930/cachename/headblog/tpl/data"}-->
<script language=javascript>
<!--{eval $i=1;}-->
<!--{loop $_SBLOCK['headblog'] $value}-->
imgUrl$i="$value[a_thumbpath]";
imgLink$i=escape("<!--{eval echo url_remake($value['url']);}-->");
<!--{eval $i++;}-->
<!--{/loop}-->
var tmpHTML = '';
tmpHTML = tmpHTML + '<OBJECT classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" WIDTH="320" HEIGHT="202"
id="flashview" ALIGN="">'
tmpHTML = tmpHTML + '<ARAM NAME=movie VALUE="http://preview.zcool.com.cn/code/ggcode/070/flash/flashview.swf'
tmpHTML = tmpHTML + '?txt01=站酷(ZCOOL)'
tmpHTML = tmpHTML + '&txt02=站酷(ZCOOL)'
tmpHTML = tmpHTML + '&txt03=站酷(ZCOOL)'
tmpHTML = tmpHTML + '&txt04=站酷(ZCOOL)'
tmpHTML = tmpHTML + '&txt05=站酷(ZCOOL)'

tmpHTML = tmpHTML
+ '&img_001=imgUrl1'
+ '&img_002=imgUrl2'
+ '&img_003=imgUrl3'
+ '&img_004=imgUrl4'
+ '&img_005=imgUrl5'

tmpHTML = tmpHTML + '&url_001=javascript:goURL(1);'
tmpHTML = tmpHTML + '&url_002=javascript:goURL(2);'
tmpHTML = tmpHTML + '&url_003=javascript:goURL(3);'
tmpHTML = tmpHTML + '&url_004=javascript:goURL(4);'
tmpHTML = tmpHTML + '&url_005=javascript:goURL(5);" /><ARAM NAME=quality VALUE=high><ARAM NAME=bgcolor VALUE=#C0E2D2><EMBED
src="http://preview.zcool.com.cn/code/ggcode/070/flash/flashview.swf" quality=high bgcolor=#C0E2D2 WIDTH="285" HEIGHT="190"
ALIGN="" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED>'
tmpHTML = tmpHTML + '</OBJECT>'
printHTML(tmpHTML);
function goURL(str) {
var url_001 = "imgLink1";
var url_002 = "imgLink2";
var url_003 = "imgLink3";
var url_004 = "imgLink4";
var url_005 = "imgLink5";
window.open(eval("url_00"+str));
}
function printHTML(str) {
var strHTML = str;
document.write(strHTML);
}
</script>

+ '&img_001=imgUrl1'      imgUrl1'2-5 的时候什么图都不显示      var url_001 = "imgLink1"  imgLink2-5 的时候也是一样   + '&img_001=$value[a_thumbpath]'  可以显示  但这样只能显示一张    路过的能帮看下吗?
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Discuz! 官方站 ( 皖ICP备16010102号 )star

GMT+8, 2025-1-13 07:43 , Processed in 0.021293 second(s), 3 queries , Gzip On, Redis On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

快速回复 返回顶部 返回列表