Skip to content
Permalink
Browse files

Tooltip: Update forms demo to programmatic-trigger only

  • Loading branch information...
jzaefferer committed Oct 26, 2010
1 parent 9556ecc commit 615022abd5c5ec74574cd6345d68b996c3d6d3c3
Showing with 2 additions and 2 deletions.
  1. +2 −2 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>

0 comments on commit 615022a

Please sign in to comment.
You can’t perform that action at this time.