Line -... |
Line 1... |
- |
|
1 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
1 |
<!--
|
2 |
<!--
|
2 |
* FCKeditor - The text editor for internet
|
3 |
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
3 |
* Copyright (C) 2003-2006 Frederico Caldeira Knabben
|
4 |
* Copyright (C) 2003-2008 Frederico Caldeira Knabben
|
- |
|
5 |
*
|
- |
|
6 |
* == BEGIN LICENSE ==
|
4 |
*
|
7 |
*
|
5 |
* Licensed under the terms of the GNU Lesser General Public License:
|
8 |
* Licensed under the terms of any of the following licenses at your
|
- |
|
9 |
* choice:
|
- |
|
10 |
*
|
- |
|
11 |
* - GNU General Public License Version 2 or later (the "GPL")
|
6 |
* http://www.opensource.org/licenses/lgpl-license.php
|
12 |
* http://www.gnu.org/licenses/gpl.html
|
7 |
*
|
13 |
*
|
8 |
* For further information visit:
|
14 |
* - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
|
9 |
* http://www.fckeditor.net/
|
15 |
* http://www.gnu.org/licenses/lgpl.html
|
10 |
*
|
16 |
*
|
11 |
* "Support Open Source software. What about a donation today?"
|
17 |
* - Mozilla Public License Version 1.1 or later (the "MPL")
|
- |
|
18 |
* http://www.mozilla.org/MPL/MPL-1.1.html
|
12 |
*
|
19 |
*
|
13 |
* File Name: fck_image_preview.html
|
20 |
* == END LICENSE ==
|
- |
|
21 |
*
|
14 |
* Preview page for the Image dialog window.
|
22 |
* Preview page for the Image dialog window.
|
15 |
* Curiosity: http://en.wikipedia.org/wiki/Lorem_ipsum
|
- |
|
16 |
*
|
23 |
*
|
17 |
* File Authors:
|
- |
|
18 |
* Frederico Caldeira Knabben (fredck@fckeditor.net)
|
24 |
* Curiosity: http://en.wikipedia.org/wiki/Lorem_ipsum
|
19 |
-->
|
25 |
-->
|
20 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
- |
|
21 |
<html xmlns="http://www.w3.org/1999/xhtml">
|
26 |
<html xmlns="http://www.w3.org/1999/xhtml">
|
22 |
<head>
|
27 |
<head>
|
23 |
<title></title>
|
28 |
<title></title>
|
24 |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
29 |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
25 |
<meta name="robots" content="noindex, nofollow" />
|
30 |
<meta name="robots" content="noindex, nofollow" />
|
26 |
<link href="../common/fck_dialog_common.css" rel="stylesheet" type="text/css" />
|
31 |
<script src="../common/fck_dialog_common.js" type="text/javascript"></script>
|
27 |
<script type="text/javascript">
|
32 |
<script type="text/javascript">
|
Line -... |
Line 33... |
- |
|
33 |
|
- |
|
34 |
var FCKTools = window.parent.FCKTools ;
|
- |
|
35 |
var FCKConfig = window.parent.FCKConfig ;
|
28 |
|
36 |
|
- |
|
37 |
// Set the preview CSS
|
29 |
// Sets the Skin CSS
|
38 |
document.write( FCKTools.GetStyleHtml( FCKConfig.EditorAreaCSS ) ) ;
|
Line 30... |
Line 39... |
30 |
document.write( '<link href="' + window.parent.FCKConfig.SkinPath + 'fck_dialog.css" type="text/css" rel="stylesheet">' ) ;
|
39 |
document.write( FCKTools.GetStyleHtml( FCKConfig.EditorAreaStyles ) ) ;
|
31 |
|
40 |
|
Line 32... |
Line 41... |
32 |
if ( window.parent.FCKConfig.BaseHref.length > 0 )
|
41 |
if ( window.parent.FCKConfig.BaseHref.length > 0 )
|
33 |
document.write( '<base href="' + window.parent.FCKConfig.BaseHref + '">' ) ;
|
42 |
document.write( '<base href="' + window.parent.FCKConfig.BaseHref + '">' ) ;
|
34 |
|
43 |
|
35 |
window.onload = function()
|
44 |
window.onload = function()
|
36 |
{
|
45 |
{
|
37 |
window.parent.SetPreviewElements(
|
46 |
window.parent.SetPreviewElements(
|
Line 38... |
Line 47... |
38 |
document.getElementById( 'imgPreview' ),
|
47 |
document.getElementById( 'imgPreview' ),
|
39 |
document.getElementById( 'lnkPreview' ) ) ;
|
48 |
document.getElementById( 'lnkPreview' ) ) ;
|
40 |
}
|
49 |
}
|
- |
|
50 |
|
41 |
|
51 |
</script>
|
42 |
</script>
|
52 |
</head>
|
43 |
</head>
|
53 |
<body>
|
44 |
<body style="color: #000000; background-color: #ffffff">
|
54 |
<div>
|
45 |
<a id="lnkPreview" onclick="return false;" style="cursor: default">
|
55 |
<a id="lnkPreview" onclick="return false;" style="cursor: default">
|
46 |
<img id="imgPreview" onload="window.parent.UpdateOriginal();" style="display: none" /></a>Lorem
|
56 |
<img id="imgPreview" onload="window.parent.UpdateOriginal();"
|
47 |
ipsum dolor sit amet, consectetuer adipiscing elit. Maecenas feugiat consequat diam.
|
57 |
style="display: none" alt="" /></a>Lorem ipsum dolor sit amet, consectetuer adipiscing
|
48 |
Maecenas metus. Vivamus diam purus, cursus a, commodo non, facilisis vitae, nulla.
|
58 |
elit. Maecenas feugiat consequat diam. Maecenas metus. Vivamus diam purus, cursus
|
49 |
Aenean dictum lacinia tortor. Nunc iaculis, nibh non iaculis aliquam, orci felis
|
59 |
a, commodo non, facilisis vitae, nulla. Aenean dictum lacinia tortor. Nunc iaculis,
|
50 |
euismod neque, sed ornare massa mauris sed velit. Nulla pretium mi et risus. Fusce
|
60 |
nibh non iaculis aliquam, orci felis euismod neque, sed ornare massa mauris sed
|
51 |
mi pede, tempor id, cursus ac, ullamcorper nec, enim. Sed tortor. Curabitur molestie.
|
61 |
velit. Nulla pretium mi et risus. Fusce mi pede, tempor id, cursus ac, ullamcorper
|
52 |
Duis velit augue, condimentum at, ultrices a, luctus ut, orci. Donec pellentesque
|
62 |
nec, enim. Sed tortor. Curabitur molestie. Duis velit augue, condimentum at, ultrices
|
53 |
egestas eros. Integer cursus, augue in cursus faucibus, eros pede bibendum sem,
|
63 |
a, luctus ut, orci. Donec pellentesque egestas eros. Integer cursus, augue in cursus
|
54 |
in tempus tellus justo quis ligula. Etiam eget tortor. Vestibulum rutrum, est ut
|
64 |
faucibus, eros pede bibendum sem, in tempus tellus justo quis ligula. Etiam eget
|
55 |
placerat elementum, lectus nisl aliquam velit, tempor aliquam eros nunc nonummy
|
65 |
tortor. Vestibulum rutrum, est ut placerat elementum, lectus nisl aliquam velit,
|
- |
|
66 |
tempor aliquam eros nunc nonummy metus. In eros metus, gravida a, gravida sed, lobortis
|
56 |
metus. In eros metus, gravida a, gravida sed, lobortis id, turpis. Ut ultrices,
|
67 |
id, turpis. Ut ultrices, ipsum at venenatis fringilla, sem nulla lacinia tellus,
|
57 |
ipsum at venenatis fringilla, sem nulla lacinia tellus, eget aliquet turpis mauris
|
68 |
eget aliquet turpis mauris non enim. Nam turpis. Suspendisse lacinia. Curabitur
|