<script type="text/javascript">
imgUrl1="image/0523anquan.jpg";
imgtext1="01"
imgLink1=escape("#");
imgUrl2="image/ej20110221.jpg";
imgtext2="02"
imgLink2=escape("#");
imgUrl3="image/xiaoqing.jpg";
imgtext3="03"
imgLink3=escape("#");
imgUrl4="image/20110622zj.jpg";
imgtext4="04"
imgLink4=escape("#");
imgUrl5="image/sybanner04.jpg";
imgtext5="05"
imgLink5=escape("#");
var focus_width=365
var focus_height=180
var text_height=0
var swf_height = focus_height+text_height
var pics=imgUrl1+"|"+imgUrl2+"|"+imgUrl3+"|"+imgUrl4+"|"+imgUrl5
var links=imgLink1+"|"+imgLink2+"|"+imgLink3+"|"+imgLink4+"|"+imgLink5
var texts=imgtext1+"|"+imgtext2+"|"+imgtext3+"|"+imgtext4+"|"+imgtext5
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="image/focus1.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>
imgUrl1="image/0523anquan.jpg";
imgtext1="01"
imgLink1=escape("#");
imgUrl2="image/ej20110221.jpg";
imgtext2="02"
imgLink2=escape("#");
imgUrl3="image/xiaoqing.jpg";
imgtext3="03"
imgLink3=escape("#");
imgUrl4="image/20110622zj.jpg";
imgtext4="04"
imgLink4=escape("#");
imgUrl5="image/sybanner04.jpg";
imgtext5="05"
imgLink5=escape("#");
var focus_width=365
var focus_height=180
var text_height=0
var swf_height = focus_height+text_height
var pics=imgUrl1+"|"+imgUrl2+"|"+imgUrl3+"|"+imgUrl4+"|"+imgUrl5
var links=imgLink1+"|"+imgLink2+"|"+imgLink3+"|"+imgLink4+"|"+imgLink5
var texts=imgtext1+"|"+imgtext2+"|"+imgtext3+"|"+imgtext4+"|"+imgtext5
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="image/focus1.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>
解决方案 »
- 不回传指定GirdView
- 求.NET用字符串拼写的方式实现列表,并且实现分页和批量操作的功能代码?
- ComponentArt:Grid 单击第二页时 报the data could not be loaded
- OutputCache VaryByParam 如何用代码来写
- Silverlight页面之间如何传参
- 调查 .net2005中用dateview控件用起来方便还是用fpSpread用起来方便??
- 为什么获取控件属性值为空
- 高手来下,关于DataGrid模板列的问题!
- 回答对了,给分!计算库存问题!
- ASP.NET中,使用树控件,怎么会这样,不能为节点添加子节点,使用过的人来看看
- 紧急,asp.net怎么调用c++的dll
- 求解SQL2000做自动备份出错
FF对flash比较不好的是在<embed width="301" height="220" pluginspage="里也要填写参数
<script language="javascript" type="text/javascript">
<!--
var Flash_Width = 301;
var Flash_Height = 200;
var Txt_Height = 20;
var Swf_Height = parseInt(Flash_Height + Txt_Height);
var Pics_ = '1.jpg|2.jpg|3.jpg|4.jpg|5.jpg';
var Links_ = 'n23935630.html|n84265567.html|n66415383.html|n81745375.html|n84305354.html';
var Texts_ = 'test1|test2|test3|test4|test5';
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="'+ Flash_Width +'" height="'+ Swf_Height +'">');
document.write('<param name="allowScriptAccess" value="sameDomain"><param name="movie" value="http://1.fang888.com.cn/Flash.swf"><param name="quality" value="high"><param name="bgcolor" value="#716798">');
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='+Flash_Width+'&borderheight='+Flash_Height+'&textheight='+Txt_Height+'">');
document.write('<embed src="http://1.fang888.com.cn/Flash.swf" wmode="opaque" FlashVars="pics='+Pics_+'&links='+Links_+'&texts='+Texts_+'&borderwidth='+Flash_Width+'&borderheight='+Flash_Height+'&textheight='+Txt_Height+'" menu="false" bgcolor="#716798" quality="high" width="'+ Flash_Width +'" height="'+ Swf_Height +'" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />');
document.write('</object>');
//-->
</script>
document.write('<embed src="http://1.fang888.com.cn/Flash.swf" wmode="opaque" FlashVars="pics='+Pics_+'&links='+Links_+'&texts='+Texts_+'&borderwidth='+Flash_Width+'&borderheight='+Flash_Height+'&textheight='+Txt_Height+'" menu="false" bgcolor="#716798" quality="high" width="'+ Flash_Width +'" height="'+ Swf_Height +'" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />');