fullscreen.htm 1.0 KB

123456789101112131415161718192021222324252627282930313233343536
  1. <HTML>
  2. <HEAD>
  3. <TITLE>eWebEditor - È«ÆÁ±à¼­</TITLE>
  4. <META http-equiv=Content-Type content="text/html; charset=gb2312">
  5. <style type="text/css">
  6. body { margin: 0px; border: 0px; background-color: buttonface; }
  7. </style>
  8. </HEAD>
  9. <BODY scroll="no" onunload="Minimize()">
  10. <input type="hidden" id="ContentFullScreen" name="ContentFullScreen" value="">
  11. <script language=javascript>
  12. // BEGIN: URLParams holds all URL passed parameters (like ?Param1=Value1&Param2=Value2)
  13. var URLParams = new Object() ;
  14. var aParams = document.location.search.substr(1).split('&') ;
  15. for (i=0 ; i < aParams.length ; i++)
  16. {
  17. var aParam = aParams[i].split('=') ;
  18. URLParams[aParam[0]] = aParam[1] ;
  19. }
  20. // END: URLParams
  21. ContentFullScreen.value = opener.getHTML();
  22. document.write('<iframe ID="EditorFullScreen" src="../eWebEditor.jsp?id=ContentFullScreen&fullscreen=1&style='+URLParams['style']+'" frameborder="0" scrolling=no width="100%" HEIGHT="100%"></iframe>');
  23. function Minimize() {
  24. opener.setHTML(EditorFullScreen.getHTML());
  25. self.close();
  26. }
  27. </script>
  28. </BODY>
  29. </HTML>