diff --git a/demos/tooltip/custom-content.html b/demos/tooltip/custom-content.html index d6ce27f6906..3b330815360 100644 --- a/demos/tooltip/custom-content.html +++ b/demos/tooltip/custom-content.html @@ -30,9 +30,11 @@ content: function() { var element = $( this ); if ( element.is( "[data-geo]" ) ) { - return "" + text +
+						""; + text + "'>"; } if ( element.is( "[title]" ) ) { return element.attr( "title" ); diff --git a/demos/tooltip/forms.html b/demos/tooltip/forms.html index ec01396a726..6440bf89e2f 100644 --- a/demos/tooltip/forms.html +++ b/demos/tooltip/forms.html @@ -27,26 +27,14 @@ @@ -58,18 +46,15 @@
- - ? +
- - ? +
- - ? +
@@ -79,7 +64,7 @@
-

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.

+

Use the button below to display the help texts, or just focus or mouseover the indivdual inputs.

A fixed width is defined in CSS to make the tooltips look consistent when displayed all at once.