d2bf285f39c2bf54656c6532e64d4a7c49d65914.svn-base 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
  2. <%
  3. String path = request.getContextPath();
  4. %>
  5. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  6. <html xmlns="http://www.w3.org/1999/xhtml">
  7. <head>
  8. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  9. <title></title>
  10. <!--框架必需start-->
  11. <script type="text/javascript" src="<%=path%>/libs/js/jquery.js"></script>
  12. <script type="text/javascript" src="<%=path%>/libs/js/language/cn.js"></script>
  13. <script type="text/javascript" src="<%=path%>/libs/js/framework.js"></script>
  14. <link href="<%=path%>/libs/css/import_basic.css" rel="stylesheet" type="text/css"/>
  15. <link rel="stylesheet" type="text/css" id="skin" prePath="<%=path%>/"/>
  16. <link rel="stylesheet" type="text/css" id="customSkin"/>
  17. <!--框架必需end-->
  18. <!--layout布局控件start-->
  19. <link href="<%=path%>/libs/thirdparty/layout/css/style.css" rel="stylesheet" type="text/css"/>
  20. <script type="text/javascript" src="<%=path%>/libs/thirdparty/layout/js/jquery-ui-1.7.2.custom.min.js"></script>
  21. <script type="text/javascript" src="<%=path%>/libs/thirdparty/layout/js/jquery.layout.js"></script>
  22. <script type="text/javascript" src="<%=path%>/libs/thirdparty/layout/js/layout.js"></script>
  23. <!--layout布局控件end-->
  24. <script>
  25. $(function(){
  26. $(window).resize(function(){
  27. var parentTopHeight = $(window.top.document.getElementById("hbox")).outerHeight() + $(window.parent.document.getElementById("rbox_topcenter")).outerHeight();
  28. var parentBottomHeight = $(window.top.document.getElementById("fbox")).outerHeight() + $(window.parent.document.getElementById("rbox_bottomcenter")).outerHeight() + 1;
  29. var parentMainHeight = window.top.document.documentElement.clientHeight;
  30. try {
  31. window.top.document.getElementsByTagName('iframe')['frmright'].style.height = parentMainHeight-parentTopHeight-parentBottomHeight+'px';
  32. }
  33. catch(e){}
  34. })
  35. })
  36. </script>
  37. </head>
  38. <body>
  39. <div class="ui-layout-center">
  40. <div class="header">上方标题</div>
  41. <div class="content">
  42. 上方面板内容
  43. </div>
  44. </div>
  45. <div class="ui-layout-south">
  46. <div class="header">下方标题</div>
  47. <div class="content">
  48. 下方面板内容
  49. </div>
  50. </div>
  51. </body>
  52. </html>