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