我按照楼主说的做,怎么就做不成功呀,
这段是生成的代码:
<div class=fdbase>
<DIV class=p1>
<script language="JavaScript" type="text/javascript">
var imagePath=new Array();//图片地址
var linkPath=new Array();//连接地址
var infoText=new Array();//介绍性文字
var imagePath_str=""
var linkPath_str=""
var infoText_str=""
for(var i=0;i<5;i++){
imagePath_str+=imagePath[i]+"|";
linkPath_str+=linkPath[i]+"|";
infoText_str+=infoText[i]+"|";
}
document.writeln("<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=\"349\" height=\"220\" id=\"flash2\" align=\"middle\">");
document.writeln("<param name=\"allowScriptAccess\" value=\"sameDomain\" \/>");
document.writeln("<param name=\"movie\" value=\"/flash2.swf\" \/>");
document.writeln("<param name=\"quality\" value=\"high\" \/>");
document.writeln("<param name=\"bgcolor\" value=\"#ffffff\" \/>");
document.writeln("<param name=\"FlashVars\" value=\"ppurl="+imagePath_str+"&pplink="+linkPath_str+"&ppfinfo="+infoText_str+"\" \/>");
document.writeln("<embed src=\"/flash2.swf\" quality=\"high\" bgcolor=\"#ffffff\" width=\"349\" height=\"220\" name=\"flash2\" align=\"middle\" allowScriptAccess=\"sameDomain\" type=\"application\/x-shockwave-flash\" pluginspage=\"http:\/\/www.macromedia.com\/go\/getflashplayer\" \/>");
document.writeln("<\/object>");
</script>
</div>
</div>
此主题相关图片如下:未命名3.jpg
此主题相关图片如下:未命名4.jpg