source: trunk/admin/inc/ckeditor/plugins/wsc/dialogs/ciframe.html@ 253

Last change on this file since 253 was 239, checked in by luc, 9 years ago

Admin: correzione visulaizzazione immissione dati spoglio per Chrome e Safari - Aggiornamento dell'editor da FCKeditor a CKeditor , accessibili anche a Chrome e Safari.

  • Property svn:executable set to *
File size: 1.1 KB
Line 
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
2<!--
3Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
4For 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
12function gup( name )
13{
14 name = name.replace( /[\[]/, '\\\[' ).replace( /[\]]/, '\\\]' ) ;
15 var regexS = '[\\?&]' + name + '=([^&#]*)' ;
16 var regex = new RegExp( regexS ) ;
17 var results = regex.exec( window.location.href ) ;
18
19 if ( results )
20 return results[ 1 ] ;
21 else
22 return '' ;
23}
24
25var interval;
26
27function sendData2Master()
28{
29 var destination = window.parent.parent ;
30 try
31 {
32 if ( destination.XDTMaster )
33 {
34 var t = destination.XDTMaster.read( [ gup( 'cmd' ), gup( 'data' ) ] ) ;
35 window.clearInterval( interval ) ;
36 }
37 }
38 catch (e) {}
39}
40
41function onLoad()
42{
43 interval = window.setInterval( sendData2Master, 100 );
44}
45
46</script>
47</head>
48<body onload="onLoad()"><p></p></body>
49</html>
Note: See TracBrowser for help on using the repository browser.