From 710c48f908290c52b93e57e29741fcd0696b2d22 Mon Sep 17 00:00:00 2001 From: Thomas Keil Date: Thu, 4 Jan 2007 22:29:18 +0000 Subject: *** empty log message *** --- javascript/examples/example7.html | 47 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 javascript/examples/example7.html (limited to 'javascript/examples/example7.html') diff --git a/javascript/examples/example7.html b/javascript/examples/example7.html new file mode 100644 index 0000000..0ebb219 --- /dev/null +++ b/javascript/examples/example7.html @@ -0,0 +1,47 @@ + + + + [DOM Tooltip] Example 7: Object Detection + + + + + + +
Example 7: Object Detection
+
+

There are some elements that overlap the tooltips, such as select form elements and flash animations. DOM Tooltip can hunt down and hide these elements that cannot be overlapped.* The solution is somewhat crude, but necessary in order to ensure the tooltip remains visible.

+

Note: The collection of elements to hide is cached in a variable domLib_collisionElements on the first tooltip activation. It is possible to flush the cache and force a new search by setting the global variable domLib_collisionsCached to false.

+

+ Hunt and destroy +

+

+ + +

+

* This problem is very browser specific. In IE, select elements are drawn using the native window library widgets and are thus sitting on top of the html page layer. Therefore, no html element can go above these decorations.

+
+
«Example 6
Example 8»
+ + -- cgit v1.2.3