aboutsummaryrefslogtreecommitdiffstats
path: root/demos/tooltip
diff options
context:
space:
mode:
authorjzaefferer <joern.zaefferer@gmail.com>2010-10-26 14:46:41 +0200
committerjzaefferer <joern.zaefferer@gmail.com>2010-10-26 14:46:41 +0200
commit615022abd5c5ec74574cd6345d68b996c3d6d3c3 (patch)
treeac7bed28308b6271476cd7882ab8b0ecd96fe826 /demos/tooltip
parent9556eccc0b790fb4e2cf2198696fc115cccdc1ba (diff)
downloadjquery-ui-615022abd5c5ec74574cd6345d68b996c3d6d3c3.tar.gz
jquery-ui-615022abd5c5ec74574cd6345d68b996c3d6d3c3.zip
Tooltip: Update forms demo to programmatic-trigger only
Diffstat (limited to 'demos/tooltip')
-rw-r--r--demos/tooltip/forms.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/demos/tooltip/forms.html b/demos/tooltip/forms.html
index ac0529680..183debf81 100644
--- a/demos/tooltip/forms.html
+++ b/demos/tooltip/forms.html
@@ -12,7 +12,7 @@
<link type="text/css" href="../demos.css" rel="stylesheet" />
<script type="text/javascript">
$(function() {
- $("[title]").tooltip();
+ $("[title]").tooltip().unbind(".tooltip");
$("<button/>").text("Show help").button().toggle(function() {
$(":ui-tooltip").tooltip("open");
}, function() {
@@ -59,7 +59,7 @@
<div class="demo-description">
-<p>Hover the questionmark-buttons or use the button below to display the help texts all at once. Click again to hide them.</p>
+<p>Use the button below to display the help texts. Click again to hide them. Default hover and focus events are removed to show tooltip only programmatically.</p>
<p>A fixed width is defined in CSS to make the tooltips look consistent when displayed all at once.</p>