source: sandbox/filemanager/tp/fckeditor/editor/dialog/fck_image/fck_image_preview.html @ 1575

Revision 1575, 2.9 KB checked in by amuller, 14 years ago (diff)

Ticket #597 - Implentação, melhorias do modulo gerenciador de arquivos

  • Property svn:executable set to *
Line 
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
2<!--
3 * FCKeditor - The text editor for Internet - http://www.fckeditor.net
4 * Copyright (C) 2003-2009 Frederico Caldeira Knabben
5 *
6 * == BEGIN LICENSE ==
7 *
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")
12 *    http://www.gnu.org/licenses/gpl.html
13 *
14 *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
15 *    http://www.gnu.org/licenses/lgpl.html
16 *
17 *  - Mozilla Public License Version 1.1 or later (the "MPL")
18 *    http://www.mozilla.org/MPL/MPL-1.1.html
19 *
20 * == END LICENSE ==
21 *
22 * Preview page for the Image dialog window.
23 *
24 * Curiosity: http://en.wikipedia.org/wiki/Lorem_ipsum
25-->
26<html xmlns="http://www.w3.org/1999/xhtml">
27<head>
28        <title></title>
29        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
30        <meta name="robots" content="noindex, nofollow" />
31        <script src="../common/fck_dialog_common.js" type="text/javascript"></script>
32        <script type="text/javascript">
33
34var FCKTools    = window.parent.FCKTools ;
35var FCKConfig   = window.parent.FCKConfig ;
36
37// Set the preview CSS
38document.write( FCKTools.GetStyleHtml( FCKConfig.EditorAreaCSS ) ) ;
39document.write( FCKTools.GetStyleHtml( FCKConfig.EditorAreaStyles ) ) ;
40
41if ( window.parent.FCKConfig.BaseHref.length > 0 )
42        document.write( '<base href="' + window.parent.FCKConfig.BaseHref + '">' ) ;
43
44window.onload = function()
45{
46        window.parent.SetPreviewElements(
47                document.getElementById( 'imgPreview' ),
48                document.getElementById( 'lnkPreview' ) ) ;
49}
50
51        </script>
52</head>
53<body>
54        <div>
55                <a id="lnkPreview" onclick="return false;" style="cursor: default">
56                        <img id="imgPreview" onload="window.parent.UpdateOriginal();"
57                                style="display: none" alt="" /></a>Lorem ipsum dolor sit amet, consectetuer adipiscing
58                elit. Maecenas feugiat consequat diam. Maecenas metus. Vivamus diam purus, cursus
59                a, commodo non, facilisis vitae, nulla. Aenean dictum lacinia tortor. Nunc iaculis,
60                nibh non iaculis aliquam, orci felis euismod neque, sed ornare massa mauris sed
61                velit. Nulla pretium mi et risus. Fusce mi pede, tempor id, cursus ac, ullamcorper
62                nec, enim. Sed tortor. Curabitur molestie. Duis velit augue, condimentum at, ultrices
63                a, luctus ut, orci. Donec pellentesque egestas eros. Integer cursus, augue in cursus
64                faucibus, eros pede bibendum sem, in tempus tellus justo quis ligula. Etiam eget
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
67                id, turpis. Ut ultrices, ipsum at venenatis fringilla, sem nulla lacinia tellus,
68                eget aliquet turpis mauris non enim. Nam turpis. Suspendisse lacinia. Curabitur
69                ac tortor ut ipsum egestas elementum. Nunc imperdiet gravida mauris.
70        </div>
71</body>
72</html>
Note: See TracBrowser for help on using the repository browser.