source: trunk/examples/full-page.html @ 12

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

Bootstrap

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