21,886
社区成员
发帖
与我相关
我的任务
分享
var focus_width=580
var focus_height=240
//var text_height=15
var text_height=4
var swf_height = focus_height+text_height
var pics='ad/warharmmer.jpg|ad/account.jpg|ad/xmas.jpg' //这里不是放图片的么,我换了就不行,是不是和里面的FLASH有关,还是要自己做
var links='index.php|http://www.toonbay.com/explor'
// var texts='aaaaaa1|bbbbbbb2|cccccc3|dddddddd4|eeeeeeee5'
document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="'+ focus_width +'" height="'+ swf_height +'">');
document.write('<param name="allowScriptAccess" value="sameDomain"><param name="movie" value="./ad/focus.swf"> <param name="quality" value="high"><param name="bgcolor" value="#fffff">');
document.write('<param name="menu" value="false"><param name=wmode value="transparent">');
document.write('<param name="FlashVars" value="pics='+pics+'&links='+links+'&borderwidth='+focus_width+'&borderheight='+focus_height+'&textheight='+text_height+'">');
document.write('<embed src="./ad/focus.swf" wmode="opaque" FlashVars="pics='+pics+'&links='+links+'&borderwidth='+focus_width+'&borderheight='+focus_height+'&textheight='+text_height+'" menu="false" bgcolor="#222222" 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>');