aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--demos/tooltip/forms.html7
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()