diff --git a/demos/tooltip/custom-animation.html b/demos/tooltip/custom-animation.html index ef8857979..23fa9aefe 100644 --- a/demos/tooltip/custom-animation.html +++ b/demos/tooltip/custom-animation.html @@ -1,17 +1,24 @@
+Tooltips can be attached to any element. When you hover - the element with your mouse, the title attribute is displayed in a little box next to the element, just like a native tooltip. -
-But as it's not a native tooltip, it can be styled. Any themes built with - ThemeRoller - will also style tooltip's accordingly.
-Tooltip's are also useful for form elements, to show some additional information in the context of each field.
- -Click the field to see the tooltip; when you tab out of the field, it gets hidden.
+Tooltips can be attached to any element. When you hover +the element with your mouse, the title attribute is displayed in a little box next to the element, just like a native tooltip.
+But as it's not a native tooltip, it can be styled. Any themes built with +ThemeRoller +will also style tooltips accordingly.
+Tooltips are also useful for form elements, to show some additional information in the context of each field.
+ +Hover the field to see the tooltip.
This demo shows how to customize animations. The tooltip is shown, after a delay of 250ms, using a slide down animation, and hidden, after another delay, without an animation.
-Tooltips can be attached to any element. When you hover - the element with your mouse, the title attribute is displayed in a little box next to the element, just like a native tooltip. -
-But as it's not a native tooltip, it can be styled. Any themes built with - ThemeRoller - will also style tooltip's accordingly.
-Tooltip's are also useful for form elements, to show some additional information in the context of each field.
- -Click the field to see the tooltip; when you tab out of the field, it gets hidden.
+Tooltips can be attached to any element. When you hover +the element with your mouse, the title attribute is displayed in a little box next to the element, just like a native tooltip.
+But as it's not a native tooltip, it can be styled. Any themes built with +ThemeRoller +will also style tooltips accordingly.
+Tooltips are also useful for form elements, to show some additional information in the context of each field.
+ +Hover the field to see the tooltip.
Hover the links above or use the tab key to cycle the focus on each element.
-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.
-A fixed width is defined in CSS to make the tooltips look consistent when displayed all at once.
-Tooltips can be attached to any element. When you hover - the element with your mouse, the title attribute is displayed in a little box next to the element, just like a native tooltip. -
-But as it's not a native tooltip, it can be styled. Any themes built with - ThemeRoller - will also style tooltip's accordingly.
-Tooltip's are also useful for form elements, to show some additional information in the context of each field.
- -Click the field to see the tooltip; when you tab out of the field, it gets hidden.
+Tooltips can be attached to any element. When you hover +the element with your mouse, the title attribute is displayed in a little box next to the element, just like a native tooltip.
+But as it's not a native tooltip, it can be styled. Any themes built with +ThemeRoller +will also style tooltips accordingly.
+Tooltips are also useful for form elements, to show some additional information in the context of each field.
+ +Hover the field to see the tooltip.
Here the tooltips are positioned relative to the mouse, and follow the mouse while it moves above the element.
-A fake video player with like/share/stats button, each with a custom-styled tooltip.
-