Home > Web Front-end > HTML Tutorial > DEDE里这个页面FLASH不显示是因为什么?_html/css_WEB-ITnose

DEDE里这个页面FLASH不显示是因为什么?_html/css_WEB-ITnose

WBOY
Release: 2016-06-21 09:41:39
Original
1387 people have browsed it

DEDE flash javascript

代码是我从仿的网站里复制的,网站另存没有JS文件,修改了imgUrll的图片地址改成了我的图片地址,可是图片却没有显示,是因为没有导入JS文件?还是文件大小?还是bcastr3.swf这个FLASH问题?好烦。

target=_self>
<script> <br /> imgUrl1="uploadfile/allimg/130304/6958247_105218051336_2.jpg"; <br /> imgtext1="1" <br /> imgLink1=escape("http://www.baidu.com"); <br /> imgUrl2="uploadfile/allimg/130304/01300000184180122828879232813.gif"; <br /> imgtext2="2" <br /> imgLink2=escape("http://www.baidu.com"); <br /> imgUrl3="http://www.ywulawyer.com/uploads/allimg/130304/xinwenlunbo1.jpg"; <br /> imgtext3="3" <br /> imgLink3=escape("http://www.baidu.com"); <br /> imgUrl4="http://www.ywulawyer.com/uploads/allimg/130304/xinwenlunbo02.jpg"; <br /> imgtext4="4" <br /> imgLink4=escape("http://www.baidu.com"); <br /> <br /> var focus_width=305 <br /> var focus_height=200 <br /> var text_height=28 <br /> var swf_height = focus_height+text_height <br /> <br /> var pics=imgUrl1+"|"+imgUrl2+"|"+imgUrl3+"|"+imgUrl4 <br /> var links=imgLink1+"|"+imgLink2+"|"+imgLink3+"|"+imgLink4 <br /> var texts=imgtext1+"|"+imgtext2+"|"+imgtext3+"|"+imgtext4 <br /> 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 +'">'); <br /> document.write('<param name="allowScriptAccess" value="sameDomain"><param name="movie" value="{dede:global.cfg_templeturl/}/images/bcastr3.swf"><param name="quality" value="high"><param name="bgcolor" value="#F0F0F0">'); <br /> document.write('<param name="menu" value="false"><param name=wmode value="opaque">'); <br /> document.write('<param name="FlashVars" value="pics='+pics+'&links='+links+'&texts='+texts+'&borderwidth='+focus_width+'&borderheight='+focus_height+'&textheight='+text_height+'">'); <br /> 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="#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(''); <br /> </script> 

回复讨论(解决方案)

看看这个文件或路径是否正确:
{dede:global.cfg_templeturl/}/images/bcastr3.swf

看看这个文件或路径是否正确:
{dede:global.cfg_templeturl/}/images/bcastr3.swf

好吧,说到了点子上,要用带3W的绝对路径才显示。。谢谢。。

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template