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 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> |
---|
30 | <html> |
---|
31 | <head> |
---|
32 | <title>FullPage plugin for HTMLArea</title> |
---|
33 | <link rel="alternate stylesheet" href="http://dynarch.com/mishoo/css/dark.css" /> |
---|
34 | <link rel="stylesheet" href="http://dynarch.com/mishoo/css/cool-light.css" /> |
---|
35 | </head> |
---|
36 | <body style="background-color: #ddddee; color: #000077;"> |
---|
37 | <table style="width:60%; height: 90%; margin: 2% auto 1% auto;" align="center" border="0" cellpadding="0" cellspacing="0"> |
---|
38 | <tr> |
---|
39 | <td style="background-color: #ddeedd; border: 2px solid #002; height: 1.5em; padding: 2px; font: bold 24px Verdana;"> |
---|
40 | FullPage plugin |
---|
41 | </td> |
---|
42 | </tr> |
---|
43 | <tr> |
---|
44 | <td style="background-color: #fff; border: 1px solid #aab; padding: 1em 3em; font: 12px Verdana;"> |
---|
45 | <p> |
---|
46 | This plugin enables one to edit a full HTML file in <a |
---|
47 | href="http://dynarch.com/htmlarea/">HTMLArea</a>. This is not |
---|
48 | normally possible with just the core editor since it only |
---|
49 | retrieves the HTML inside the <code>body</code> tag. |
---|
50 | </p> |
---|
51 | <p> |
---|
52 | It provides the ability to change the <code>DOCTYPE</code> of |
---|
53 | the document, <code>body</code> <code>bgcolor</code> and |
---|
54 | <code>fgcolor</code> attributes as well as to add additional |
---|
55 | <code>link</code>-ed stylesheets. Cool, eh? |
---|
56 | </p> |
---|
57 | <p> |
---|
58 | The development of this plugin was initiated and sponsored by |
---|
59 | <a href="http://thycotic.com">Thycotic Software Ltd.</a>. |
---|
60 | That's also cool, isn't it? ;-) |
---|
61 | </p> |
---|
62 | </td> |
---|
63 | </tr> |
---|
64 | </table> |
---|
65 | </body> |
---|
66 | </html> |
---|
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> |
---|