<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國際加速解決方案。 廣告
                ### 返回值:Integerwidth([val|fn]) ### 概述 取得第一個匹配元素當前計算的寬度值(px)。 在 jQuery 1.2 以后可以用來獲取 window 和 document 的寬 ### 參數 #### **val**String, Number, Function*V1.0* 設定CSS中 'width' 的值,可以是字符串或者數字,還可以是一個函數,返回要設置的數值。函數接受兩個參數,第一個參數是元素在原先集合中的索引位置,第二個參數為原先的寬度。 #### **function(index, height)**String, Number, Function*V1.4.1* 返回用于設置寬度的一個函數。接收元素的索引位置和元素舊的寬度值作為參數。 ### 示例 #### 無參數描述: 獲取第一段的寬 ##### jQuery 代碼: ~~~ $("p").width(); ~~~ #### 參數val 描述: 把所有段落的寬設為 20: ##### jQuery 代碼: ~~~ $("p").width(20); ~~~ #### 參數function(index, height) 描述: 以 10 像素的幅度增加 p 元素的寬度 ##### jQuery 代碼: ~~~ $("button").click(function(){ $("p").width(function(n,c){ return c+10; }); }); ~~~
                  <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>

                              哎呀哎呀视频在线观看