flash对联广告代码: 两边显示 不移动 可关闭

<html>
<head>
<!-- 对联开始 -->
<SCRIPT language=JavaScript event=FSCommand() for=happydiet>
AdLayer1.style.visibility='hidden';
AdLayer2.style.visibility='hidden';
</SCRIPT>
<SCRIPT language=JavaScript>
function winload()
{
AdLayer1.style.top=20;
AdLayer1.style.left=5;
AdLayer2.style.top=20;
AdLayer2.style.right=5;
}
//if(document.body.offsetWidth>800){
{
document.write("<div id=AdLayer1 style='position: absolute;visibility:visible;z-index:1'><EMBED src='flash.swf' quality=high WIDTH=100 HEIGHT=300 TYPE='application/x-shockwave-flash' id=happydiet></EMBED></div>"
+"<div id=AdLayer2 style='position: absolute;visibility:visible;z-index:1'><EMBED src='flash.swf' quality=high WIDTH=100 HEIGHT=300 TYPE='application/x-shockwave-flash' id=happydiet></EMBED></div>");
}
winload()
//}
</SCRIPT>
<!-- 对联结束 -->
</head>
<body>
</body>
</html>
posted @ 2006-09-01 09:25  谢多  阅读(567)  评论(0编辑  收藏  举报