<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                合規國際互聯網加速 OSASE為企業客戶提供高速穩定SD-WAN國際加速解決方案。 廣告
                ## 點擊顯示 隱藏 ### 代碼: ~~~ <style> #parent{ width: 100px; height: 100px; background: red; } .none{ display: none; } .show{ display: block; } </style> </head> <body> <div id="parent" class="none"> </div> <button id="toggle">點擊</button> <script> var toggle =document.getElementById("toggle"); var parent =document.getElementById("parent"); toggle.onclick =()=>{ // if(parent.className =="none"){ // parent.className ="show" // }else{ // parent.className ="none" // } parent.classList.toggle("none"); } </script> </body> ~~~ 方法2: ~~~ <style> div{ width:200px; } div:first-child{ cursor: pointer; background:#ff2d51; height:50px; border:1px solid #333; } #content{ height:200px; border:1px solid #333; } .show{ display: none; } </style> </head> <body> <div id="title"> HTML </div> <div id="content"> HTML負責網頁的結構 </div> <script> var title = document.getElementById("title"); var content = document.getElementById("content"); title.onclick = function(){ if(content.classList.contains("show")){ content.classList.remove("show") }else{ content.classList.add("show"); } // content.classList.toggle("show"); } </script> </body> ~~~
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看