76791858 发表于 2011-7-13 13:04
您好,为何我下载你的翻拍广告在自定义html的时候显示:html代码:div标签不匹配,这是为何呢?能帮忙解答下 ...
添加 如下代码
<SCRIPT src="js/sinaflash.js" type=text/javascript></SCRIPT>
<!-- Flash翻牌 开始 -->
<DIV id=flipper_div align=center>www.52sddz.com</DIV>
<SCRIPT type=text/javascript>
<!--
var fp_data = new Array();
// AE维护部分 开始
//位置1
fp_data.push(["images/intel_1.jpg","http://www.52sddz.com/"]);
fp_data.push(["images/intel_2.jpg","http://www.52sddz.com/"]);
//位置2
fp_data.push(["images/rising_1.jpg","http://www.52sddz.com/"]);
fp_data.push(["images/rising_2.jpg","http://www.52sddz.com/"]);
//位置3
fp_data.push(["images/fangzheng_1.jpg","http://www.52sddz.com/"]);
fp_data.push(["images/fangzheng_2.jpg","http://www.52sddz.com/"]);
//位置4
fp_data.push(["images/HP_1.jpg","http://www.52sddz.com/"]);
fp_data.push(["images/HP_2.jpg","http://www.52sddz.com/"]);
//位置5
fp_data.push(["images/rising_1.jpg","http://www.52sddz.com/"]);
fp_data.push(["images/rising_1.jpg","http://www.52sddz.com/"]);
//AE维护部分 结束
var fp_pics="",fp_links="";
var fp_lens = fp_data.length;
for(var i=0; i<fp_lens; i++){
fp_pics += fp_data[0];
fp_links += escape(fp_data[1]);
if(i%2==0 && i!=fp_lens-1){
fp_pics += "§";
fp_links += "§";
}else if(i%2==1 && i!=fp_lens-1){
fp_pics += "§_§";
fp_links += "§_§";
}
}
var oswf = new sinaFlash("flash/flipper_v2.swf", "flipper", 685, 90, "7", "#FFFFFF", false, "High");
oswf.addParam("allowScriptAccess", "always");
oswf.addParam("menu", "false");
oswf.addParam("wmode", "opaque");
oswf.addParam("scale", "noscale");
oswf.addVariable("pic_width", "120");
oswf.addVariable("pic_height", "75");
oswf.addVariable("colnum", "5");
oswf.addVariable("hspace", "15");
oswf.addVariable("vspace", "20");
oswf.addVariable("flip_time", "200");
oswf.addVariable("pause_time", "2000");
oswf.addVariable("pics", fp_pics);
oswf.addVariable("urls", fp_links);
oswf.addVariable("rand", "0");
oswf.write("flipper_div");
//-->
</SCRIPT>
<!-- Flash翻牌 结束 -->
|