flash图片幻灯片浏览


<script type="text/javascript">
 var focus_width=570;
 var focus_height=150;
 var swf_height = focus_height;
 var pics='1.jpg|2.jpg|3.jpg|4.jpg';
 var texts='';
 var links='sgd';;
 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="focus.swf"><param name="quality" value="high"><param name="bgcolor" value="#f7fbff">');
 document.write('<param name="menu" value="false"><param name="Loop" value="-1"><param name="wmode" value="opaque">');
 document.write('<param name="FlashVars" value="pics='+pics+'&links='+links+'&texts='+texts+'&borderwidth='+focus_width+'&borderheight='+focus_height+'">');
 document.write('<embed src="focus.swf" wmode="opaque" FlashVars="pics='+pics+'&links='+links+'&texts='+texts+'&borderwidth='+focus_width+'&borderheight='+focus_height+'" menu="false" bgcolor="#9ccfce" 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>

 

posted @ 2008-10-16 11:21  洗碗心得  阅读(485)  评论(0编辑  收藏  举报