diff options
author | jsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68> | 2011-05-23 02:28:47 +0000 |
---|---|---|
committer | jsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68> | 2011-05-23 02:28:47 +0000 |
commit | 49f4223605b4946a2bf6831262dd442375a4a929 (patch) | |
tree | 0cef0f1b857365e9d71d1c7c71e2116bd35b1d65 /sca-cpp/trunk/modules/edit/htdocs/data | |
parent | 09fdc02e7a412927582fe8b46080b44b0d63ba35 (diff) |
Simplify page navigations and optimize layout and event handling on touch devices. Optimize caching and minimize Ajax calls.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1126297 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-cpp/trunk/modules/edit/htdocs/data')
-rw-r--r-- | sca-cpp/trunk/modules/edit/htdocs/data/index.html | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/sca-cpp/trunk/modules/edit/htdocs/data/index.html b/sca-cpp/trunk/modules/edit/htdocs/data/index.html index 1f078f7b87..6a9ee416c2 100644 --- a/sca-cpp/trunk/modules/edit/htdocs/data/index.html +++ b/sca-cpp/trunk/modules/edit/htdocs/data/index.html @@ -35,23 +35,25 @@ document.title = 'View - ' + window.location.hostname.split('.')[0] + '/' + cn; <body class="delayed" onorientationchange="ui.reload();"> <div id="bodydiv" style="position: absolute; top: 0px; left: 0px; right: 0px;"> - +<div id="compLinkHeader" style="margin-top: 4px; margin-bottom: 4px;"></div> +<div id="datadiv" style="position: relative; left: 0px; right: 0px;"> </div> <script type="text/javascript"> -if (ui.isIE()) $('bodydiv').style.right = -20; + +// Get the component name +var cname = ui.queryParams()['component']; /** * The current component. */ -var cname = ui.queryParams()['component']; var comp = sca.component(cname); /** * Display an HTML element. */ function display(e) { - $('bodydiv').innerHTML = e; + $('datadiv').innerHTML = e; ui.showbody(); return true; |