zoukankan      html  css  js  c++  java
  • 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>
  • 相关阅读:
    查看本机80端口占用方法
    LeetCode: Word Break II
    LeetCode: Word Break
    LeetCode: Sort List
    LeetCode: Single Number II
    LeetCode: Single Number
    LeetCode: Reorder List
    LeetCode: LRU Cache
    LeetCode: Max Points on a Line
    Insertion Sort List
  • 原文地址:https://www.cnblogs.com/zerogo/p/2209403.html
Copyright © 2011-2022 走看看