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