自拍亚洲中文字幕一区二区,久久亚洲岛国观看,女人天堂在线日本,中文字幕欧美久久久

  • <strike id="iuy4q"><noscript id="iuy4q"></noscript></strike>
    <tbody id="iuy4q"><s id="iuy4q"></s></tbody>
  • 好學(xué)若饑 - 讓我們共同前行!

    好學(xué)網(wǎng)


    網(wǎng)頁對(duì)聯(lián)廣告代碼怎么寫?

    時(shí)間:2017-02-17 14:50來源:教育網(wǎng) 作者:好學(xué)網(wǎng) 點(diǎn)擊:
    有站長有友想知道網(wǎng)站怎么樣添加對(duì)聯(lián)廣告代碼? 編程開發(fā)網(wǎng): 下面是一段網(wǎng)站對(duì)聯(lián)廣告代碼,請(qǐng)學(xué)友參考: !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd html xmlns=http://www.w3

           有站長有友想知道網(wǎng)站怎么樣添加對(duì)聯(lián)廣告代碼?
          編程開發(fā)網(wǎng):
          下面是一段網(wǎng)站對(duì)聯(lián)廣告代碼,請(qǐng)學(xué)友參考:
          <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/**99/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>無標(biāo)題文檔</title>
    <style>
    #left{ width:**0px;height:450px; position:absolute; left:0px; background:red; border:1px #000 solid}
    #right{width:**0px;height:450px; position:absolute; right:0px; background:blue; border:1px #000 solid}
    #x,#y{ width:10px; height:10px;position:absolute;right:0px; top:0px;}
    </style>
    <script>
    window.onload=window.onscroll=function()
    {
    var oLeft = document.getElementById("left");
    var oRight = document.getElementById("right");
    var scrollY=document.documentElement.scrollTop||document.body.scrollTop;
    var clientH = document.documentElement.clientHeight;
    var oCloseX =document.getElementById("x")
    var oCloseY =document.getElementById("y")
    oLeft.style.top=(clientH-oLeft.offsetHeight)/2+scrollY+"px";
    oRight.style.top=(clientH-oRight.offsetHeight)/2+scrollY+"px";
    oCloseX.onclick=function()
    {
    this.parentNode.parentNode.removeChild(this.parentNode);
    }
    }
    </script>
    </head>
    <body style="height:**00px;">
    <div id="left">
    <div id="x">x</div>
    </div>
    <div id="right">
    <div id="y">x</div>
    </div>
    </body>
    </html>
    可在網(wǎng)頁上加載試驗(yàn)。

    (責(zé)任編輯:haoxuee)

          學(xué)友請(qǐng)微信搜索好學(xué)網(wǎng),或加公眾號(hào) haoxueecom 獲取更多學(xué)習(xí)資訊!      

    贊一個(gè)
    (0)
    0%
    噓一下
    (0)
    0%
    ------分隔線----------------------------