editFile.jsp 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. <%@ page language="java" contentType="text/html;charset=GBK" pageEncoding="GBK"%>
  2. <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
  3. <%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
  4. <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  5. <html>
  6. <head>
  7. <meta http-equiv="Content-Type" content="text/html;charset=GBK">
  8. <title>ÔÆ±à¼­</title>
  9. <link href="${pageContext.request.contextPath }/liger/lib/ligerUI/skins/${sessionScope.css}/css/ligerui-all.css" rel="stylesheet" type="text/css" />
  10. <link href="${pageContext.request.contextPath }/main.css" rel="stylesheet" type="text/css" />
  11. <script src="/shares/js/jquery-1.8.2.js" type="text/javascript"></script>
  12. <script src="${pageContext.request.contextPath }/liger/lib/ligerUI/js/ligerui.all.js" type="text/javascript"></script>
  13. <script type="text/javascript" src="/shares/js/constant.js"></script>
  14. <script type="text/javascript" src="/shares/js/common.js"></script>
  15. <script type="text/javascript">
  16. var tab1 = null;
  17. $(function() {
  18. $("#officeFrame")
  19. .attr(
  20. "src",
  21. "${pageContext.request.contextPath}/fileCloudeditor.do?task=edit&fileId=${fileId}&folder=${folder}&isNewCreate=${isNewCreate}");
  22. });
  23. function setValue(fileId, fileName) {
  24. $("#docid").val(fileId);
  25. }
  26. </script>
  27. <style>
  28. * {
  29. margin: 0px;
  30. padding: 0px;
  31. }
  32. </style>
  33. </head>
  34. <body style="width: 100%; height: 900px;">
  35. <form action="fileCloudeditor.do" method="post" id="form1" name="form1">
  36. <iframe name="officeFrame" id="officeFrame" src="" frameborder="0" scrolling="no" width="100%" height="100%" style="margin-top: 3px;"> </iframe>
  37. </form>
  38. </body>
  39. </html>