diff options
author | jsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68> | 2008-07-31 08:04:20 +0000 |
---|---|---|
committer | jsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68> | 2008-07-31 08:04:20 +0000 |
commit | 34f92700da268b74b52aa3f2b6c9e1e2da6ad591 (patch) | |
tree | f1521730f8d1713a46aa84f206d25e8506769412 /java/sca/modules/domain-manager/src/main/resources/home.html | |
parent | f47f6707497e8645da513d6abbe9fe280e0b7fe2 (diff) |
Improved the Domain Manager widgets to use HTML divs for presentation and iframes for script isolation. This provides better control and performance of the layout while preserving isolation between the scripts of the individual widgets.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@681295 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/sca/modules/domain-manager/src/main/resources/home.html')
-rw-r--r-- | java/sca/modules/domain-manager/src/main/resources/home.html | 26 |
1 files changed, 22 insertions, 4 deletions
diff --git a/java/sca/modules/domain-manager/src/main/resources/home.html b/java/sca/modules/domain-manager/src/main/resources/home.html index 2984ba2afc..0274799de4 100644 --- a/java/sca/modules/domain-manager/src/main/resources/home.html +++ b/java/sca/modules/domain-manager/src/main/resources/home.html @@ -20,20 +20,38 @@ <head> <title>SCA Domain - Home</title> -<script type="text/javascript" src="../home/home.js"></script> +<script type="text/javascript" src="utils.js"></script> <link rel="stylesheet" type="text/css" href="manager.css"> </head> <body> - <iframe id="toolbarGadget" src="toolbar-gadget.html" style="top: 0px; left: 0px; width: 100%;"></iframe> - <br><br> + <div id="toolbarGadgetDiv"></div> + <br> <span class=hd1> SCA Domain </span> <br><br><br><br><br><br> - <iframe id="homeGadget" src="home-gadget.html" style="left: 0px; width: 100%; height: 100%;"></iframe> + <div id="homeGadgetDiv"></div> + + <br><br><br><br><br><br><br> + <center>This page is under construction, searching the domain is not implemented yet.</center> + + <iframe id="toolbarGadget" src="toolbar-gadget.html" style="visibility: hidden;"></iframe> + <iframe id="homeGadget" src="home-gadget.html" style="visibility: hidden;"></iframe> </body> + +<script type="text/javascript"> + function ongadget(win, doc) { + if (doc == content(toolbarGadget)) { + toolbarGadgetDiv.innerHTML = doc.body.innerHTML; + } else if (doc == content(homeGadget)) { + homeGadgetDiv.innerHTML = doc.body.innerHTML; + } + return document; + } +</script> + </html> |