src/cm/media/js/ckeditor/plugins/wsc/dialogs/ciframe.html
author Yves-Marie Haussonne <ymh.work+github@gmail.com>
Fri, 09 May 2014 18:35:26 +0200
changeset 656 a84519031134
parent 256 adccf7c023ef
permissions -rw-r--r--
add link to "privacy policy" in the header test
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
256
adccf7c023ef add fck editor for html texts
raph
parents:
diff changeset
     1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
adccf7c023ef add fck editor for html texts
raph
parents:
diff changeset
     2
<!--
adccf7c023ef add fck editor for html texts
raph
parents:
diff changeset
     3
Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
adccf7c023ef add fck editor for html texts
raph
parents:
diff changeset
     4
For licensing, see LICENSE.html or http://ckeditor.com/license
adccf7c023ef add fck editor for html texts
raph
parents:
diff changeset
     5
-->
adccf7c023ef add fck editor for html texts
raph
parents:
diff changeset
     6
<html>
adccf7c023ef add fck editor for html texts
raph
parents:
diff changeset
     7
<head>
adccf7c023ef add fck editor for html texts
raph
parents:
diff changeset
     8
	<title></title>
adccf7c023ef add fck editor for html texts
raph
parents:
diff changeset
     9
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
adccf7c023ef add fck editor for html texts
raph
parents:
diff changeset
    10
	<script type="text/javascript">
adccf7c023ef add fck editor for html texts
raph
parents:
diff changeset
    11
adccf7c023ef add fck editor for html texts
raph
parents:
diff changeset
    12
function gup( name )
adccf7c023ef add fck editor for html texts
raph
parents:
diff changeset
    13
{
adccf7c023ef add fck editor for html texts
raph
parents:
diff changeset
    14
	name = name.replace( /[\[]/, '\\\[' ).replace( /[\]]/, '\\\]' ) ;
adccf7c023ef add fck editor for html texts
raph
parents:
diff changeset
    15
	var regexS = '[\\?&]' + name + '=([^&#]*)' ;
adccf7c023ef add fck editor for html texts
raph
parents:
diff changeset
    16
	var regex = new RegExp( regexS ) ;
adccf7c023ef add fck editor for html texts
raph
parents:
diff changeset
    17
	var results = regex.exec( window.location.href ) ;
adccf7c023ef add fck editor for html texts
raph
parents:
diff changeset
    18
adccf7c023ef add fck editor for html texts
raph
parents:
diff changeset
    19
	if ( results )
adccf7c023ef add fck editor for html texts
raph
parents:
diff changeset
    20
		return results[ 1 ] ;
adccf7c023ef add fck editor for html texts
raph
parents:
diff changeset
    21
	else
adccf7c023ef add fck editor for html texts
raph
parents:
diff changeset
    22
		return '' ;
adccf7c023ef add fck editor for html texts
raph
parents:
diff changeset
    23
}
adccf7c023ef add fck editor for html texts
raph
parents:
diff changeset
    24
adccf7c023ef add fck editor for html texts
raph
parents:
diff changeset
    25
var interval;
adccf7c023ef add fck editor for html texts
raph
parents:
diff changeset
    26
adccf7c023ef add fck editor for html texts
raph
parents:
diff changeset
    27
function sendData2Master()
adccf7c023ef add fck editor for html texts
raph
parents:
diff changeset
    28
{
adccf7c023ef add fck editor for html texts
raph
parents:
diff changeset
    29
	var destination = window.parent.parent ;
adccf7c023ef add fck editor for html texts
raph
parents:
diff changeset
    30
	try
adccf7c023ef add fck editor for html texts
raph
parents:
diff changeset
    31
	{
adccf7c023ef add fck editor for html texts
raph
parents:
diff changeset
    32
		if ( destination.XDTMaster )
adccf7c023ef add fck editor for html texts
raph
parents:
diff changeset
    33
		{
adccf7c023ef add fck editor for html texts
raph
parents:
diff changeset
    34
			var t = destination.XDTMaster.read( [ gup( 'cmd' ), gup( 'data' ) ] ) ;
adccf7c023ef add fck editor for html texts
raph
parents:
diff changeset
    35
			window.clearInterval( interval ) ;
adccf7c023ef add fck editor for html texts
raph
parents:
diff changeset
    36
		}
adccf7c023ef add fck editor for html texts
raph
parents:
diff changeset
    37
	}
adccf7c023ef add fck editor for html texts
raph
parents:
diff changeset
    38
	catch (e) {}
adccf7c023ef add fck editor for html texts
raph
parents:
diff changeset
    39
}
adccf7c023ef add fck editor for html texts
raph
parents:
diff changeset
    40
adccf7c023ef add fck editor for html texts
raph
parents:
diff changeset
    41
function onLoad()
adccf7c023ef add fck editor for html texts
raph
parents:
diff changeset
    42
{
adccf7c023ef add fck editor for html texts
raph
parents:
diff changeset
    43
	interval = window.setInterval( sendData2Master, 100 );
adccf7c023ef add fck editor for html texts
raph
parents:
diff changeset
    44
}
adccf7c023ef add fck editor for html texts
raph
parents:
diff changeset
    45
adccf7c023ef add fck editor for html texts
raph
parents:
diff changeset
    46
</script>
adccf7c023ef add fck editor for html texts
raph
parents:
diff changeset
    47
</head>
adccf7c023ef add fck editor for html texts
raph
parents:
diff changeset
    48
<body onload="onLoad()"><p></p></body>
adccf7c023ef add fck editor for html texts
raph
parents:
diff changeset
    49
</html>