求个在网页两边漂浮广告的 JS 代码
要两边的 图片或 FLASH 是不一样内容的
先谢谢了!
看看吧…………
<!-- 对联开始 -->
<SCRIPT language=javascript event=FSCommand() for=dl>
duilian2.style.visibility='hidden';
duilian3.style.visibility='hidden';
</SCRIPT>
<SCRIPT language=javascript>
function winload()
{
duilian2.style.top=0;
duilian2.style.left=0;
duilian3.style.top=0;
duilian3.style.right=0;
}
//if(document.body.offsetWidth>800){
{
document.write("<div id=duilian2 style='position: absolute;visibility:visible;z-index:1'><EMBED src='../swf/gzbanner.swf' quality=high WIDTH=110 HEIGHT=100 TYPE='application/x-shockwave-flash' id=dl></EMBED><br><br><EMBED src='../swf/zsbanner.swf' quality=high WIDTH=110 HEIGHT=100 TYPE='application/x-shockwave-flash' id=dl></EMBED><br><br><EMBED src='../swf/szbanner.swf' quality=high WIDTH=110 HEIGHT=100 TYPE='application/x-shockwave-flash' id=dl></EMBED></div>"
+"<div id=duilian3 style='position: absolute;visibility:visible;z-index:1'><EMBED src='../swf/dgbanner.swf' quality=high WIDTH=110 HEIGHT=100 TYPE='application/x-shockwave-flashs' id=dl></EMBED><br><br><EMBED src='../swf/sdbanner.swf' quality=high WIDTH=110 HEIGHT=100 TYPE='application/x-shockwave-flash' id=dl></EMBED><br><br><EMBED src='../swf/nhbanner.swf' quality=high WIDTH=110 HEIGHT=100 TYPE='application/x-shockwave-flash' id=dl></EMBED></div>");
}
winload()
//}
</SCRIPT>
<!-- 对联结束 -->