复制内容到剪贴板
代码:
<SCRIPT type=text/javascript>
var focus_width=230;
var focus_height=190;
var text_height=20;
var swf_height = focus_height+text_height;
var pics='attachment/Mon_0711/102_4809_80ded36db5d2fb7.jpg|attachment/Mon_0711/100_4809_1016c8bf0e4eda0.jpg|attachment/Mon_0711/100_4809_56a731dd603d53b.jpg|attachment/Mon_0711/100_4809_c97f63fb60d65b6.jpg|attachment/Mon_0711/100_4809_f553f5cb5b6a998.jpg';
var links='read.php?tid=19711|read.php?tid=19743|read.php?tid=19652|read.php?tid=19697|read.php?tid=19725';
var texts='人类双腿的由来!!|微软刚刚公布了 Search Server 2008,|联想服务器完成火炬登珠峰信息指挥系统测试|5种成功创业可行方式|用 XP 照样展现DirectX 10效果';
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="images/pic.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="images/pic.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></div></div>这是个例子,相信你可以看明白