mycalendar.jsp 1.1 KB

123456789101112131415161718192021222324252627
  1. <%@ page language="java" contentType="text/html; charset=utf-8"
  2. pageEncoding="utf-8"%>
  3. <%
  4. String path = request.getContextPath();
  5. String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
  6. %>
  7. <!DOCTYPE html>
  8. <html>
  9. <head>
  10. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  11. <link rel="stylesheet" href="<%=basePath %>resource/ext/resources/css/ext-all-gray.css" type="text/css"></link>
  12. <link rel="stylesheet" href="<%=basePath %>resource/css/main.css" type="text/css"></link>
  13. <script type="text/javascript" src="<%=basePath %>resource/ext/ext-all.js"></script>
  14. <script type="text/javascript" src="<%=basePath %>resource/i18n/i18n.js"></script>
  15. <script type="text/javascript">
  16. function fn(){
  17. //window.open("NewMyCalendar.jsp", "", "Status=yes,scrollbars=yes,resizable=yes,width=" + (screen.availWidth - 10) + ",height=" + (screen.availHeight - 50) + ",top=0,left=0");
  18. setTimeout("close()",300);
  19. }
  20. function close(){
  21. parent.Ext.getCmp('1380').close();
  22. }
  23. </script>
  24. </head>
  25. <body onload="fn()" >
  26. </body>
  27. </html>