<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國際加速解決方案。 廣告
                # Scale Effect Categories: [Effects](http://www.css88.com/jquery-ui-api/category/effects/ "View all posts in Effects") **Description:** 按百分比縮小或放大一個元素。 * #### scale * **direction** (default: `"both"`)Type: [String](http://api.jquery.com/Types/#String)效果的方向。 可選值: `"both"`, `"vertical"` or `"horizontal"`. * **origin** (default: `[ "middle", "center" ]`)Type: [Array](http://api.jquery.com/Types/#Array)消失點。 * **percent**Type: [Number](http://api.jquery.com/Types/#Number)縮放百分比。 * **scale** (default: `"both"`)Type: [String](http://api.jquery.com/Types/#String)確定元素的哪個區域將被縮放: `"both"`, `"box"`, `"content"`。 Box值縮放元素的border和padding; content值縮放元素內部的所有內容。 ## Examples: #### Example: 使用縮放特效切換顯示div。 ``` <!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <title>scale demo</title> <link rel="stylesheet" href="http://code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css"> <style> #toggle { width: 100px; height: 100px; background: #ccc; } </style> <script src="http://code.jquery.com/jquery-1.9.1.js"></script> <script src="http://code.jquery.com/ui/1.10.3/jquery-ui.js"></script> </head> <body> <p>Click anywhere to toggle the box.</p> <div id="toggle"></div> <script> $( document ).click(function() { $( "#toggle" ).toggle( "scale" ); }); </script> </body> </html> ``` #### Example: 使用縮放特效,但只朝一個方向切換顯示div。 ``` <!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <title>scale demo</title> <link rel="stylesheet" href="http://code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css"> <style> #toggle { width: 100px; height: 100px; background: #ccc; } </style> <script src="http://code.jquery.com/jquery-1.9.1.js"></script> <script src="http://code.jquery.com/ui/1.10.3/jquery-ui.js"></script> </head> <body> <p>Click anywhere to toggle the box.</p> <div id="toggle"></div> <script> $( document ).click(function() { $( "#toggle" ).toggle({ effect: "scale", direction: "horizontal" }); }); </script> </body> </html> ```
                  <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>

                              哎呀哎呀视频在线观看