Importation initiale du code de CKEditor 3.6.1.
[ckeditor.git] / plugins / wsc / dialogs / tmpFrameset.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
2 <!--
3 Copyright (c) 2003-2011, 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
12 function doLoadScript( url )
13 {
14 if ( !url )
15 return false ;
16
17 var s = document.createElement( "script" ) ;
18 s.type = "text/javascript" ;
19 s.src = url ;
20 document.getElementsByTagName( "head" )[ 0 ].appendChild( s ) ;
21
22 return true ;
23 }
24
25 var opener;
26 function tryLoad()
27 {
28 opener = window.parent;
29
30 // get access to global parameters
31 var oParams = window.opener.oldFramesetPageParams;
32
33 // make frameset rows string prepare
34 var sFramesetRows = ( parseInt( oParams.firstframeh, 10 ) || '30') + ",*," + ( parseInt( oParams.thirdframeh, 10 ) || '150' ) + ',0' ;
35 document.getElementById( 'itFrameset' ).rows = sFramesetRows ;
36
37 // dynamic including init frames and crossdomain transport code
38 // from config sproxy_js_frameset url
39 var addScriptUrl = oParams.sproxy_js_frameset ;
40 doLoadScript( addScriptUrl ) ;
41 }
42
43 </script>
44 </head>
45
46 <frameset id="itFrameset" onload="tryLoad();" border="0" rows="30,*,*,0">
47 <frame scrolling="no" framespacing="0" frameborder="0" noresize="noresize" marginheight="0" marginwidth="2" src="" name="navbar"></frame>
48 <frame scrolling="auto" framespacing="0" frameborder="0" noresize="noresize" marginheight="0" marginwidth="0" src="" name="mid"></frame>
49 <frame scrolling="no" framespacing="0" frameborder="0" noresize="noresize" marginheight="1" marginwidth="1" src="" name="bot"></frame>
50 <frame scrolling="no" framespacing="0" frameborder="0" noresize="noresize" marginheight="1" marginwidth="1" src="" name="spellsuggestall"></frame>
51 </frameset>
52 </html>