source: branches/1.2/workflow/js/htmlarea/examples/full-page.html @ 1349

Revision 1349, 3.1 KB checked in by niltonneto, 15 years ago (diff)

Ticket #561 - Inclusão do módulo Workflow faltante nessa versão.

  • Property svn:executable set to *
Line 
1<html>
2  <head>
3    <title>Test of FullPage plugin</title>
4    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
5    <script type="text/javascript">
6      _editor_url = "../";
7      _editor_lang = "en";
8    </script>
9
10    <!-- load the main HTMLArea files -->
11    <script type="text/javascript" src="../htmlarea.js"></script>
12
13    <script type="text/javascript">
14      HTMLArea.loadPlugin("FullPage");
15
16      function initDocument() {
17        var editor = new HTMLArea("editor");
18        editor.registerPlugin(FullPage);
19        editor.generate();
20      }
21    </script>
22
23  </head>
24
25  <body onload="initDocument()">
26    <h1>Test of FullPage plugin</h1>
27
28    <textarea id="editor" style="height: 30em; width: 100%;">
29      &lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"&gt;
30      &lt;html&gt;
31        &lt;head&gt;
32          &lt;title&gt;FullPage plugin for HTMLArea&lt;/title&gt;
33          &lt;link rel="alternate stylesheet" href="http://dynarch.com/mishoo/css/dark.css" /&gt;
34          &lt;link rel="stylesheet" href="http://dynarch.com/mishoo/css/cool-light.css" /&gt;
35        &lt;/head&gt;
36        &lt;body style="background-color: #ddddee; color: #000077;"&gt;
37          &lt;table style="width:60%; height: 90%; margin: 2% auto 1% auto;" align="center" border="0" cellpadding="0" cellspacing="0"&gt;
38            &lt;tr&gt;
39              &lt;td style="background-color: #ddeedd; border: 2px solid #002; height: 1.5em; padding: 2px; font: bold 24px Verdana;"&gt;
40                FullPage plugin
41              &lt;/td&gt;
42            &lt;/tr&gt;
43            &lt;tr&gt;
44              &lt;td style="background-color: #fff; border: 1px solid #aab; padding: 1em 3em; font: 12px Verdana;"&gt;
45                &lt;p&gt;
46                  This plugin enables one to edit a full HTML file in &lt;a
47                    href="http://dynarch.com/htmlarea/"&gt;HTMLArea&lt;/a&gt;.  This is not
48                  normally possible with just the core editor since it only
49                  retrieves the HTML inside the &lt;code&gt;body&lt;/code&gt; tag.
50                &lt;/p&gt;
51                &lt;p&gt;
52                  It provides the ability to change the &lt;code&gt;DOCTYPE&lt;/code&gt; of
53                  the document, &lt;code&gt;body&lt;/code&gt; &lt;code&gt;bgcolor&lt;/code&gt; and
54                  &lt;code&gt;fgcolor&lt;/code&gt; attributes as well as to add additional
55                  &lt;code&gt;link&lt;/code&gt;-ed stylesheets.  Cool, eh?
56                &lt;/p&gt;
57                &lt;p&gt;
58                  The development of this plugin was initiated and sponsored by
59                  &lt;a href="http://thycotic.com"&gt;Thycotic Software Ltd.&lt;/a&gt;.
60                  That's also cool, isn't it? ;-)
61                &lt;/p&gt;
62              &lt;/td&gt;
63            &lt;/tr&gt;
64          &lt;/table&gt;
65        &lt;/body&gt;
66      &lt;/html&gt;
67    </textarea>
68
69    <hr />
70    <address><a href="http://dynarch.com/mishoo/">Mihai Bazon</a></address>
71<!-- Created: Wed Oct  1 19:55:37 EEST 2003 -->
72<!-- hhmts start --> Last modified: Wed Jan 28 11:10:07 EET 2004 <!-- hhmts end -->
73<!-- doc-lang: English -->
74  </body>
75</html>
Note: See TracBrowser for help on using the repository browser.