网页挂边广告源代码(无滚动功能)

来源:互联网 发布:js 数组长度 获取 编辑:程序博客网 时间:2024/05/16 04:40

<script language="javascript">
document.write("<div id='L1' style='position: absolute;visibility:visible;z-index:1'><EMBED src='Flash地址' quality=high  width=100 height=240 TYPE='application/x-shockwave-flash' id='F1L'></EMBED></div>"
+"<div id='R1' style='position: absolute;visibility:visible;z-index:1'><EMBED src='Flash地址' quality=high  width=100 height=240 TYPE='application/x-shockwave-flash' id='F1R'></EMBED></div>");

L1.style.top = 250;
R1.style.top = 250;
L1.style.left = 5;
R1.style.right = 5;
</script>
<!--关闭代码-->
<script language="javascript" event=FSCommand() for='F1L'>
L1.style.visibility='hidden';
</script>
<script language="javascript" event=FSCommand() for='F1R'>
R1.style.visibility='hidden';
</script>

原创粉丝点击