Subversion Repositories Applications.papyrus

Rev

Rev 1688 | Go to most recent revision | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1688 Rev 1921
1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
2
<!--
2
<!--
3
 * FCKeditor - The text editor for internet
3
 * FCKeditor - The text editor for Internet - http://www.fckeditor.net
4
 * Copyright (C) 2003-2006 Frederico Caldeira Knabben
4
 * Copyright (C) 2003-2008 Frederico Caldeira Knabben
-
 
5
 *
-
 
6
 * == BEGIN LICENSE ==
5
 * 
7
 *
6
 * Licensed under the terms of the GNU Lesser General Public License:
8
 * Licensed under the terms of any of the following licenses at your
7
 * 		http://www.opensource.org/licenses/lgpl-license.php
9
 * choice:
8
 * 
10
 *
9
 * For further information visit:
11
 *  - GNU General Public License Version 2 or later (the "GPL")
10
 * 		http://www.fckeditor.net/
12
 *    http://www.gnu.org/licenses/gpl.html
11
 * 
13
 *
12
 * "Support Open Source software. What about a donation today?"
14
 *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
-
 
15
 *    http://www.gnu.org/licenses/lgpl.html
13
 * 
16
 *
14
 * File Name: fck_document_preview.html
17
 *  - Mozilla Public License Version 1.1 or later (the "MPL")
15
 * 	Preview shown in the "Document Properties" dialog window.
18
 *    http://www.mozilla.org/MPL/MPL-1.1.html
16
 * 
19
 *
17
 * File Authors:
20
 * == END LICENSE ==
-
 
21
 *
18
 * 		Frederico Caldeira Knabben (fredck@fckeditor.net)
22
 * Preview shown in the "Document Properties" dialog window.
19
-->
23
-->
20
<html>
24
<html>
21
	<head>
25
	<head>
22
		<title>Document Properties - Preview</title>
26
		<title>Document Properties - Preview</title>
23
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
27
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
24
		<meta name="robots" content="noindex, nofollow">
28
		<meta name="robots" content="noindex, nofollow">
25
		<script language="javascript">
29
		<script language="javascript">
26
 
30
 
27
var eBase = parent.FCK.EditorDocument.getElementsByTagName( 'BASE' ) ;
31
var eBase = parent.FCK.EditorDocument.getElementsByTagName( 'BASE' ) ;
28
if ( eBase.length > 0 && eBase[0].href.length > 0 )
32
if ( eBase.length > 0 && eBase[0].href.length > 0 )
29
{
33
{
30
	document.write( '<base href="' + eBase[0].href + '">' ) ;
34
	document.write( '<base href="' + eBase[0].href + '">' ) ;
31
}
35
}
32
 
36
 
33
window.onload = function()
37
window.onload = function()
34
{
38
{
35
	if ( typeof( parent.OnPreviewLoad ) == 'function' )
39
	if ( typeof( parent.OnPreviewLoad ) == 'function' )
36
		parent.OnPreviewLoad( window, document.body ) ;
40
		parent.OnPreviewLoad( window, document.body ) ;
37
}
41
}
38
 
42
 
39
function SetBaseHRef( baseHref )
43
function SetBaseHRef( baseHref )
40
{
44
{
41
	var eBase = document.createElement( 'BASE' ) ;
45
	var eBase = document.createElement( 'BASE' ) ;
42
	eBase.href = baseHref ;
46
	eBase.href = baseHref ;
43
 
47
 
44
	var eHead = document.getElementsByTagName( 'HEAD' )[0] ;
48
	var eHead = document.getElementsByTagName( 'HEAD' )[0] ;
45
	eHead.appendChild( eBase ) ;
49
	eHead.appendChild( eBase ) ;
46
}
50
}
47
 
51
 
48
function SetLinkColor( color )
52
function SetLinkColor( color )
49
{
53
{
50
	if ( color && color.length > 0 )
54
	if ( color && color.length > 0 )
51
		document.getElementById('eLink').style.color = color ;
55
		document.getElementById('eLink').style.color = color ;
52
	else
56
	else
53
		document.getElementById('eLink').style.color = window.document.linkColor ;
57
		document.getElementById('eLink').style.color = window.document.linkColor ;
54
}
58
}
55
 
59
 
56
function SetVisitedColor( color )
60
function SetVisitedColor( color )
57
{
61
{
58
	if ( color && color.length > 0 )
62
	if ( color && color.length > 0 )
59
		document.getElementById('eVisited').style.color = color ;
63
		document.getElementById('eVisited').style.color = color ;
60
	else
64
	else
61
		document.getElementById('eVisited').style.color = window.document.vlinkColor ;
65
		document.getElementById('eVisited').style.color = window.document.vlinkColor ;
62
}
66
}
63
 
67
 
64
function SetActiveColor( color )
68
function SetActiveColor( color )
65
{
69
{
66
	if ( color && color.length > 0 )
70
	if ( color && color.length > 0 )
67
		document.getElementById('eActive').style.color = color ;
71
		document.getElementById('eActive').style.color = color ;
68
	else
72
	else
69
		document.getElementById('eActive').style.color = window.document.alinkColor ;
73
		document.getElementById('eActive').style.color = window.document.alinkColor ;
70
}
74
}
71
		</script>
75
		</script>
72
	</head>
76
	</head>
73
	<body>
77
	<body>
74
		<table width="100%" height="100%" cellpadding="0" cellspacing="0" border="0">
78
		<table width="100%" height="100%" cellpadding="0" cellspacing="0" border="0">
75
			<tr>
79
			<tr>
76
				<td align="center" valign="middle">
80
				<td align="center" valign="middle">
77
					Normal Text
81
					Normal Text
78
				</td>
82
				</td>
79
				<td id="eLink" align="center" valign="middle">
83
				<td id="eLink" align="center" valign="middle">
80
					<u>Link Text</u>
84
					<u>Link Text</u>
81
				</td>
85
				</td>
82
			</tr>
86
			</tr>
83
			<tr>
87
			<tr>
84
				<td id="eVisited" valign="middle" align="center">
88
				<td id="eVisited" valign="middle" align="center">
85
					<u>Visited Link</u>
89
					<u>Visited Link</u>
86
				</td>
90
				</td>
87
				<td id="eActive" valign="middle" align="center">
91
				<td id="eActive" valign="middle" align="center">
88
					<u>Active Link</u>
92
					<u>Active Link</u>
89
				</td>
93
				</td>
90
			</tr>
94
			</tr>
91
		</table>
95
		</table>
92
		<br>
96
		<br>
93
		<br>
97
		<br>
94
		<br>
98
		<br>
95
		<br>
99
		<br>
96
		<br>
100
		<br>
97
		<br>
101
		<br>
98
		<br>
102
		<br>
99
		<br>
103
		<br>
100
		<br>
104
		<br>
101
		<br>
105
		<br>
102
		<br>
106
		<br>
103
		<br>
107
		<br>
104
		<br>
108
		<br>
105
		<br>
109
		<br>
106
		<br>
110
		<br>
107
		<br>
111
		<br>
108
	</body>
112
	</body>
109
</html>
113
</html>