source: trunk/plugins/FullPage/test.html @ 1

Last change on this file since 1 was 1, checked in by xinha, 15 years ago

Bootstrap

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