diff options
author | jzaefferer <joern.zaefferer@gmail.com> | 2010-03-25 18:06:16 -0400 |
---|---|---|
committer | jzaefferer <joern.zaefferer@gmail.com> | 2010-03-25 18:06:16 -0400 |
commit | 87533753f49156c1d1331d6a02e8682ae863a3c2 (patch) | |
tree | 1fd8a29202f100d5b1db11f0945f56042744a7ed /tests/visual/tooltip | |
parent | 8c2df20a5d7e2b847c0e7bde32be5f33fea82763 (diff) | |
download | jquery-ui-87533753f49156c1d1331d6a02e8682ae863a3c2.tar.gz jquery-ui-87533753f49156c1d1331d6a02e8682ae863a3c2.zip |
Tooltip: Add Button to visual test page to test interoperability
Diffstat (limited to 'tests/visual/tooltip')
-rw-r--r-- | tests/visual/tooltip/tooltip.html | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/visual/tooltip/tooltip.html b/tests/visual/tooltip/tooltip.html index cac2fbbd1..3f1ae3878 100644 --- a/tests/visual/tooltip/tooltip.html +++ b/tests/visual/tooltip/tooltip.html @@ -8,6 +8,7 @@ <script type="text/javascript" src="../../../ui/jquery.ui.core.js"></script> <script type="text/javascript" src="../../../ui/jquery.ui.widget.js"></script> <script type="text/javascript" src="../../../ui/jquery.ui.position.js"></script> + <script type="text/javascript" src="../../../ui/jquery.ui.button.js"></script> <script type="text/javascript" src="../../../ui/jquery.ui.tooltip.js"></script> <script type="text/javascript" src="http://jqueryui.com/themeroller/themeswitchertool/"></script> <script type="text/javascript"> @@ -53,6 +54,19 @@ }, tooltipClass: "ui-state-highlight" }); + + $("#button1").button().tooltip(); + $("#button2").button({ + icons: { + primary: "ui-icon-wrench" + } + }).tooltip(); + $("#button3").button({ + icons: { + primary: "ui-icon-wrench" + }, + text: false + }).tooltip(); } enable(); @@ -120,6 +134,10 @@ </div> </form> + <button id="button1" title="Button Tooltip">Button Label</button> + <button id="button2" title="Icon Button">Button with Icon</button> + <button id="button3">Icon Only Button</button> + <div id="footnote">This is <strong>the</strong> footnote, including other elements</div> <button id="disable">Toggle disabled</button> |