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

 找回密码
 立即注册
搜索

[疑难] 请高手帮忙看一下这段代码

[复制链接]
flowerboy 发表于 2009-3-31 18:25:05 | 显示全部楼层 |阅读模式
下面这段代码在IE  下没有问题,在火狐下面就什么都显示不出来,不知道问题在哪?

<div class="supe_globalmodule_2_r"><!--天羽风景线开始-->
<div class="global_caption"><h3>天羽风景线</h3><a href="http://oo.oohyee.com/space.php?uid=1&do=album&view=all">更多&gt;&gt;</a></div>
<script type="text/javascript">
imgUrl1="images/1.jpg";
imgtext1="寒池(武汉美联俱乐部)"
imgLink1=escape("http://changdaobing.ttymq.com");
imgUrl2="images/2.jpg";
imgtext2="海盗(北京网友俱乐部)"
imgLink2=escape("http://haidao.ttymq.com");
imgUrl3="images/3.jpg";
imgtext3="娟子(广州)"
imgLink3=escape("http://home.ttymq.com/4536");
imgUrl4="images/4.jpg";
imgtext4="军儿(北京)"
imgLink4=escape("http://http://juner.ttymq.com");

var focus_width=210
var focus_height=160
var text_height=18
var swf_height = focus_height+text_height

var pics=imgUrl1+"|"+imgUrl2+"|"+imgUrl3+"|"+imgUrl4
var links=imgLink1+"|"+imgLink2+"|"+imgLink3+"|"+imgLink4
var texts=imgtext1+"|"+imgtext2+"|"+imgtext3+"|"+imgtext4

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/focus2.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('</object>');
</script>
</div><!--天羽风景线结束-->
回复

使用道具 举报

 楼主| flowerboy 发表于 2009-4-1 11:17:17 | 显示全部楼层
顶啊((em:03))
回复

使用道具 举报

eqmz 发表于 2009-4-1 11:54:10 | 显示全部楼层
:) 好麻烦的代码,

上面的可以直接写成SS调用
回复

使用道具 举报

 楼主| flowerboy 发表于 2009-4-1 12:49:42 | 显示全部楼层
楼上能具体说说么?怎么调用,写在自定义广告里面么?
回复

使用道具 举报

 楼主| flowerboy 发表于 2009-4-3 21:20:51 | 显示全部楼层
顶啊。。。。((em:15))((em:05))
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

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

GMT+8, 2025-10-21 07:05 , Processed in 0.112652 second(s), 14 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

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