[795] | 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 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> |
---|
| 42 | <html> |
---|
| 43 | <head> |
---|
| 44 | <title>FullPage plugin for HTMLArea</title> |
---|
| 45 | <link rel="alternate stylesheet" href="http://dynarch.com/mishoo/css/dark.css" /> |
---|
| 46 | <link rel="stylesheet" href="http://dynarch.com/mishoo/css/cool-light.css" /> |
---|
| 47 | </head> |
---|
| 48 | <body style="background-color: #ddddee; color: #000077;"> |
---|
| 49 | <table style="width:60%; height: 90%; margin: 2% auto 1% auto;" align="center" border="0" cellpadding="0" cellspacing="0"> |
---|
| 50 | <tr> |
---|
| 51 | <td style="background-color: #ddeedd; border: 2px solid #002; height: 1.5em; padding: 2px; font: bold 24px Verdana;"> |
---|
| 52 | FullPage plugin |
---|
| 53 | </td> |
---|
| 54 | </tr> |
---|
| 55 | <tr> |
---|
| 56 | <td style="background-color: #fff; border: 1px solid #aab; padding: 1em 3em; font: 12px Verdana;"> |
---|
| 57 | <p> |
---|
| 58 | This plugin enables one to edit a full HTML file in <a |
---|
| 59 | href="http://dynarch.com/htmlarea/">HTMLArea</a>. This is not |
---|
| 60 | normally possible with just the core editor since it only |
---|
| 61 | retrieves the HTML inside the <code>body</code> tag. |
---|
| 62 | </p> |
---|
| 63 | <p> |
---|
| 64 | It provides the ability to change the <code>DOCTYPE</code> of |
---|
| 65 | the document, <code>body</code> <code>bgcolor</code> and |
---|
| 66 | <code>fgcolor</code> attributes as well as to add additional |
---|
| 67 | <code>link</code>-ed stylesheets. Cool, eh? |
---|
| 68 | </p> |
---|
| 69 | <p> |
---|
| 70 | The development of this plugin was initiated and sponsored by |
---|
| 71 | <a href="http://thycotic.com">Thycotic Software Ltd.</a>. |
---|
| 72 | That's also cool, isn't it? ;-) |
---|
| 73 | </p> |
---|
| 74 | </td> |
---|
| 75 | </tr> |
---|
| 76 | </table> |
---|
| 77 | </body> |
---|
| 78 | </html> |
---|
| 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 --> |
---|
| 85 | Last modified on Sat Oct 25 01:06:59 2003 |
---|
| 86 | <!-- hhmts end --> |
---|
| 87 | <!-- doc-lang: English --> |
---|
| 88 | </body> |
---|
| 89 | </html> |
---|