Free Programming

我的生活在一行又一行的代码中前行........

 

flash滚动幻灯图片(仅支持jpg格式)

<!-- flash滚动幻灯图片(仅支持jpg格式) -->

<script type="text/javascript">
<!--

var focus_width=160
var focus_height=130
var text_height=30
var swf_height = focus_height+text_height

var pics='http://www.hiday.cn/blog/images/1.jpg|http://www.hiday.cn/blog/images/2.jpg|http://www.hiday.cn/blog/images/3.jpg|http://www.hiday.cn/blog/images/4.jpg'
var
links='http://www.hiday.cn/index.asp?boardid=56|http://www.hiday.cn/blog/article.asp?id=18|http://www.hiday.cn|http://www.61dress.com'
var texts='ベ嗜血ル家族|劲舞团V2.0试听|纯真年代|妈咪宝宝屋'

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.cn775.com/blog/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.cn775.com/blog/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="'+ focus_height +'" allowscriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />'); document.write('</object>');

//-->
</script>

posted on 2007-04-23 01:50  sharewind  阅读(861)  评论(0编辑  收藏  举报

导航