summaryrefslogtreecommitdiff
path: root/javascript/examples/example11b.html
diff options
context:
space:
mode:
authorThomas Keil <tkeil (at) datacrystal (dot) de>2007-01-04 22:29:18 +0000
committerThomas Keil <tkeil (at) datacrystal (dot) de>2007-01-04 22:29:18 +0000
commit710c48f908290c52b93e57e29741fcd0696b2d22 (patch)
treecefaa11c5d529041a64ec793cecf95d13c48e242 /javascript/examples/example11b.html
parentd4d1dec8f3f204ad0d7abac3b553c5023a4324bd (diff)
downloadvdr-plugin-live-710c48f908290c52b93e57e29741fcd0696b2d22.tar.gz
vdr-plugin-live-710c48f908290c52b93e57e29741fcd0696b2d22.tar.bz2
*** empty log message ***
Diffstat (limited to 'javascript/examples/example11b.html')
-rw-r--r--javascript/examples/example11b.html18
1 files changed, 18 insertions, 0 deletions
diff --git a/javascript/examples/example11b.html b/javascript/examples/example11b.html
new file mode 100644
index 0000000..679ef99
--- /dev/null
+++ b/javascript/examples/example11b.html
@@ -0,0 +1,18 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN"
+ "http://www.w3.org/TR/REC-html40/strict.dtd">
+<html>
+ <head>
+ <style>
+@import url(example.css);
+ </style>
+ <script language="javascript" src="../domLib.js"></script>
+ <script language="javascript" src="../domTT.js"></script>
+ </head>
+ <body>
+ <div class="title">Child Frame</div>
+ <div class="main">
+ <p style="cursor: pointer; cursor: hand;" onmouseover="domTT_activate(this, event, 'content', 'This is an example of a tooltip which is fired from inside of an iframe', 'parent', window.parent.document.body, 'inframe', true, 'trail', true);">Would you like to know more about me? Fly over me to see</p>
+ <p class="small">Note: The way this works is that the event is fired from the element inside of the iframe but the tooltip is created in the parent frame and uses the event plus the offset of the iframe element in the parent document.</p>
+ </div>
+ </body>
+</html>