1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
\r
3 * FCKeditor - The text editor for Internet - http://www.fckeditor.net
\r
4 * Copyright (C) 2003-2007 Frederico Caldeira Knabben
\r
6 * == BEGIN LICENSE ==
\r
8 * Licensed under the terms of any of the following licenses at your
\r
11 * - GNU General Public License Version 2 or later (the "GPL")
\r
12 * http://www.gnu.org/licenses/gpl.html
\r
14 * - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
\r
15 * http://www.gnu.org/licenses/lgpl.html
\r
17 * - Mozilla Public License Version 1.1 or later (the "MPL")
\r
18 * http://www.mozilla.org/MPL/MPL-1.1.html
\r
22 * Preview shown in the "Document Properties" dialog window.
\r
26 <title>Document Properties - Preview</title>
\r
27 <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
\r
28 <meta name="robots" content="noindex, nofollow">
\r
29 <script language="javascript">
\r
31 var eBase = parent.FCK.EditorDocument.getElementsByTagName( 'BASE' ) ;
\r
32 if ( eBase.length > 0 && eBase[0].href.length > 0 )
\r
34 document.write( '<base href="' + eBase[0].href + '">' ) ;
\r
37 window.onload = function()
\r
39 if ( typeof( parent.OnPreviewLoad ) == 'function' )
\r
40 parent.OnPreviewLoad( window, document.body ) ;
\r
43 function SetBaseHRef( baseHref )
\r
45 var eBase = document.createElement( 'BASE' ) ;
\r
46 eBase.href = baseHref ;
\r
48 var eHead = document.getElementsByTagName( 'HEAD' )[0] ;
\r
49 eHead.appendChild( eBase ) ;
\r
52 function SetLinkColor( color )
\r
54 if ( color && color.length > 0 )
\r
55 document.getElementById('eLink').style.color = color ;
\r
57 document.getElementById('eLink').style.color = window.document.linkColor ;
\r
60 function SetVisitedColor( color )
\r
62 if ( color && color.length > 0 )
\r
63 document.getElementById('eVisited').style.color = color ;
\r
65 document.getElementById('eVisited').style.color = window.document.vlinkColor ;
\r
68 function SetActiveColor( color )
\r
70 if ( color && color.length > 0 )
\r
71 document.getElementById('eActive').style.color = color ;
\r
73 document.getElementById('eActive').style.color = window.document.alinkColor ;
\r
78 <table width="100%" height="100%" cellpadding="0" cellspacing="0" border="0">
\r
80 <td align="center" valign="middle">
\r
83 <td id="eLink" align="center" valign="middle">
\r
88 <td id="eVisited" valign="middle" align="center">
\r
91 <td id="eActive" valign="middle" align="center">
\r