flash轮显图片代码 类似
<script type="text/javascript">
<!--
var focus_width=340
var focus_height=158
var text_height=20
var swf_height = focus_height+text_height
var pics='http://www.youthblog.cn/focus/10modern.jpg|http://www.youthblog.cn/focus/anlove.jpg|http://www.youthblog.cn/focus/hanju.jpg|http://www.youthblog.cn/focus/ysjy.jpg'
var links='http://www.youthblog.cn/user1/observe/archives/2006/2352.html|http://www.youthblog.cn/user1/observe/archives/2006/2308.html|http://youthblog.cn/user1/observe/archives/2006/1434.html|http://www.youthblog.cn/user1/observe/archives/2006/1716.html'
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.youthblog.cn/focus/focus.swf"> <param name="quality" value="high"><param name="bgcolor" value="#CCCCCC">');
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="skin/youthblog/focus/focus.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>
<!--
var focus_width=340
var focus_height=158
var text_height=20
var swf_height = focus_height+text_height
var pics='http://www.youthblog.cn/focus/10modern.jpg|http://www.youthblog.cn/focus/anlove.jpg|http://www.youthblog.cn/focus/hanju.jpg|http://www.youthblog.cn/focus/ysjy.jpg'
var links='http://www.youthblog.cn/user1/observe/archives/2006/2352.html|http://www.youthblog.cn/user1/observe/archives/2006/2308.html|http://youthblog.cn/user1/observe/archives/2006/1434.html|http://www.youthblog.cn/user1/observe/archives/2006/1716.html'
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.youthblog.cn/focus/focus.swf"> <param name="quality" value="high"><param name="bgcolor" value="#CCCCCC">');
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="skin/youthblog/focus/focus.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>
顶(1)
踩(0)
上一篇:javascript 打印程序
下一篇:flash轮显图片代码
- 最新评论