帮我看看,这段js代码有问题吗?
lst23 2008-01-14 03:00:19 这是用转码工具转码后的代码,放在网页上没有任何效果,帮我看看哪里错了。谢谢!做好能写出正确的,我js不会
document.writeln("<script type=\"text\/javascript\">");
document.writeln(" var swf_width=340;");
document.writeln(" var swf_height=220;");
document.writeln(" var config=\'3|0xffffff|0xFF9900|50|0xffffff|0xFF9900|0x000000\';");
document.writeln(" \/\/-- config 参数设置 -- 自动播放时间(秒)|文字颜色|文字背景色|文字背景透明度|按键数字颜色|当前按键颜色|普通按键色彩 --");
document.writeln(" var files=\'{$focus_file}\';");
document.writeln(" var links=\'{$focus_link}\';");
document.writeln(" var texts=\'{$focus_text}\';");
document.writeln(" 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=\"\'+ swf_width +\'\" height=\"\'+ swf_height +\'\">\');");
document.writeln(" document.write(\'<param name=\"movie\" value=\".\/images\/home\/focus.swf\" \/>\');");
document.writeln(" document.write(\'<param name=\"quality\" value=\"high\" \/>\');");
document.writeln(" document.write(\'<param name=\"menu\" value=\"false\" \/>\');");
document.writeln(" document.write(\'<param name=wmode value=\"opaque\" \/>\');");
document.writeln(" document.write(\'<param name=\"FlashVars\" value=\"config=\'+config+\'&bcastr_flie=\'+files+\'&bcastr_link=\'+links+\'&bcastr_title=\'+texts+\'\" \/>\');");
document.writeln(" document.write(\'<embed src=\".\/images\/home\/focus.swf\" wmode=\"opaque\" FlashVars=\"config=\'+config+\'&bcastr_flie=\'+files+\'&bcastr_link=\'+links+\'&bcastr_title=\'+texts+\'& menu=\"false\" quality=\"high\" width=\"\'+ swf_width +\'\" height=\"\'+ swf_height +\'\" type=\"application\/x-shockwave-flash\" pluginspage=\"http:\/\/www.macromedia.com\/go\/getflashplayer\" \/>\');");
document.writeln(" document.write(\'<\/object>\');");
document.writeln(" <\/script>")