diff options
author | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2014-04-24 13:48:15 +0200 |
---|---|---|
committer | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2014-04-24 13:48:15 +0200 |
commit | 1fa0c975867e1ba7d2a6097fcfbe0ea22160b968 (patch) | |
tree | c38f1bb867e3d499198afd622aa3dca51195b6de /demos | |
parent | a332256753ca7f3acf1eb8fc0fd007571d6e17e9 (diff) | |
download | jquery-ui-1fa0c975867e1ba7d2a6097fcfbe0ea22160b968.tar.gz jquery-ui-1fa0c975867e1ba7d2a6097fcfbe0ea22160b968.zip |
Tooltip demo: Position tooltips next to inputs instead of over inputs
Diffstat (limited to 'demos')
-rw-r--r-- | demos/tooltip/forms.html | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/demos/tooltip/forms.html b/demos/tooltip/forms.html index 296d004bd..804e3fc2b 100644 --- a/demos/tooltip/forms.html +++ b/demos/tooltip/forms.html @@ -27,7 +27,12 @@ </style> <script> $(function() { - var tooltips = $( "[title]" ).tooltip(); + var tooltips = $( "[title]" ).tooltip({ + position: { + my: "left top", + at: "right+5 top-5" + } + }); $( "<button>" ) .text( "Show help" ) .button() |