flash轮播

<script type="text/javascript">
<!--
var focus_width=240;
var focus_height=180;
var text_height=24;
var swf_height = focus_height+text_height;
var pics='http://www.siyuroom.com/album/20090618/small_115214.JPG|http://www.siyuroom.com/album/20090618/small_114707.JPG|http://www.siyuroom.com/album/myCamera/20091007130935.jpg'
var links='http://www.siyuroom.com/showpic.php?id=17%26classid=1|http://www.siyuroom.com/showpic.php?id=15%26classid=2|http://www.siyuroom.com/showpic.php?id=93%26classid=6'
var texts='十里洋场|人民英雄纪念碑|我的摄像头'

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="http://www.siyuroom.com/demo/pixviewer.swf"><param name="quality" value="high"><param name="bgcolor" value="#FFFFFF">');
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('<embed src="http://www.siyuroom.com/demo/pixviewer.swf" wmode="opaque" flashvars="pics='+pics+'&links='+links+'&texts='+texts+'&borderwidth='+focus_width+'&borderheight='+focus_height+'&textheight='+text_height+'" menu="false" bgcolor="#FFFFFF" 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>

    A+
发布日期:2009年10月23日  所属分类:未分类

发表评论

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: