diff --git a/demos/index.html b/demos/index.html index db3e2bf83..c9f690921 100644 --- a/demos/index.html +++ b/demos/index.html @@ -25,6 +25,7 @@ + @@ -268,6 +269,7 @@
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.
+ +Hover the links above or use the tab key to cycle the focus on each element.
+ +Hover the questionmark-buttons or use the button below to display the help texts all at once. Click again to hide them.
+ +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.
+ +Here the tooltips are positioned relative to the mouse, and follow the mouse while it moves above the element.
+ +diff --git a/tests/visual/tooltip/ajaxcontent.php b/tests/visual/tooltip/ajaxcontent.php new file mode 100644 index 000000000..a689a734d --- /dev/null +++ b/tests/visual/tooltip/ajaxcontent.php @@ -0,0 +1,2 @@ + +Hello world! \ No newline at end of file diff --git a/tests/visual/tooltip/callout.html b/tests/visual/tooltip/callout.html new file mode 100644 index 000000000..3ef694987 --- /dev/null +++ b/tests/visual/tooltip/callout.html @@ -0,0 +1,213 @@ + + +
+
+ + + + + + + + + + + +
+