tmpFrameset.html 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
  2. <!--
  3. Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
  4. For licensing, see LICENSE.html or http://ckeditor.com/license
  5. -->
  6. <html>
  7. <head>
  8. <title></title>
  9. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  10. <script type="text/javascript">
  11. function doLoadScript( url )
  12. {
  13. if ( !url )
  14. return false ;
  15. var s = document.createElement( "script" ) ;
  16. s.type = "text/javascript" ;
  17. s.src = url ;
  18. document.getElementsByTagName( "head" )[ 0 ].appendChild( s ) ;
  19. return true ;
  20. }
  21. var opener;
  22. function tryLoad()
  23. {
  24. opener = window.parent;
  25. // get access to global parameters
  26. var oParams = window.opener.oldFramesetPageParams;
  27. // make frameset rows string prepare
  28. var sFramesetRows = ( parseInt( oParams.firstframeh, 10 ) || '30') + ",*," + ( parseInt( oParams.thirdframeh, 10 ) || '150' ) + ',0' ;
  29. document.getElementById( 'itFrameset' ).rows = sFramesetRows ;
  30. // dynamic including init frames and crossdomain transport code
  31. // from config sproxy_js_frameset url
  32. var addScriptUrl = oParams.sproxy_js_frameset ;
  33. doLoadScript( addScriptUrl ) ;
  34. }
  35. </script>
  36. </head>
  37. <frameset id="itFrameset" onload="tryLoad();" border="0" rows="30,*,*,0">
  38. <frame scrolling="no" framespacing="0" frameborder="0" noresize="noresize" marginheight="0" marginwidth="2" src="" name="navbar"></frame>
  39. <frame scrolling="auto" framespacing="0" frameborder="0" noresize="noresize" marginheight="0" marginwidth="0" src="" name="mid"></frame>
  40. <frame scrolling="no" framespacing="0" frameborder="0" noresize="noresize" marginheight="1" marginwidth="1" src="" name="bot"></frame>
  41. <frame scrolling="no" framespacing="0" frameborder="0" noresize="noresize" marginheight="1" marginwidth="1" src="" name="spellsuggestall"></frame>
  42. </frameset>
  43. </html>