summaryrefslogtreecommitdiff
path: root/httemplate/elements/fckeditor/editor/dialog/fck_image/fck_image_preview.html
blob: db0d2e091b263d5d8c8742e3a1f53db2f5033ef0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!--
 * FCKeditor - The text editor for Internet - http://www.fckeditor.net
 * Copyright (C) 2003-2010 Frederico Caldeira Knabben
 *
 * == BEGIN LICENSE ==
 *
 * Licensed under the terms of any of the following licenses at your
 * choice:
 *
 *  - GNU General Public License Version 2 or later (the "GPL")
 *    http://www.gnu.org/licenses/gpl.html
 *
 *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
 *    http://www.gnu.org/licenses/lgpl.html
 *
 *  - Mozilla Public License Version 1.1 or later (the "MPL")
 *    http://www.mozilla.org/MPL/MPL-1.1.html
 *
 * == END LICENSE ==
 *
 * Preview page for the Image dialog window.
 *
 * Curiosity: http://en.wikipedia.org/wiki/Lorem_ipsum
-->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<title></title>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta name="robots" content="noindex, nofollow" />
	<script src="../common/fck_dialog_common.js" type="text/javascript"></script>
	<script type="text/javascript">

var FCKTools	= window.parent.FCKTools ;
var FCKConfig	= window.parent.FCKConfig ;

// Set the preview CSS
document.write( FCKTools.GetStyleHtml( FCKConfig.EditorAreaCSS ) ) ;
document.write( FCKTools.GetStyleHtml( FCKConfig.EditorAreaStyles ) ) ;

if ( window.parent.FCKConfig.BaseHref.length > 0 )
	document.write( '<base href="' + window.parent.FCKConfig.BaseHref + '">' ) ;

window.onload = function()
{
	window.parent.SetPreviewElements(
		document.getElementById( 'imgPreview' ),
		document.getElementById( 'lnkPreview' ) ) ;
}

	</script>
</head>
<body>
	<div>
		<a id="lnkPreview" onclick="return false;" style="cursor: default">
			<img id="imgPreview" onload="window.parent.UpdateOriginal();"
				style="display: none" alt="" /></a>Lorem ipsum dolor sit amet, consectetuer adipiscing
		elit. Maecenas feugiat consequat diam. Maecenas metus. Vivamus diam purus, cursus
		a, commodo non, facilisis vitae, nulla. Aenean dictum lacinia tortor. Nunc iaculis,
		nibh non iaculis aliquam, orci felis euismod neque, sed ornare massa mauris sed
		velit. Nulla pretium mi et risus. Fusce mi pede, tempor id, cursus ac, ullamcorper
		nec, enim. Sed tortor. Curabitur molestie. Duis velit augue, condimentum at, ultrices
		a, luctus ut, orci. Donec pellentesque egestas eros. Integer cursus, augue in cursus
		faucibus, eros pede bibendum sem, in tempus tellus justo quis ligula. Etiam eget
		tortor. Vestibulum rutrum, est ut placerat elementum, lectus nisl aliquam velit,
		tempor aliquam eros nunc nonummy metus. In eros metus, gravida a, gravida sed, lobortis
		id, turpis. Ut ultrices, ipsum at venenatis fringilla, sem nulla lacinia tellus,
		eget aliquet turpis mauris non enim. Nam turpis. Suspendisse lacinia. Curabitur
		ac tortor ut ipsum egestas elementum. Nunc imperdiet gravida mauris.
	</div>
</body>
</html>