mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-27 10:23:28 +01:00
90 lines
3.6 KiB
HTML
Executable File
90 lines
3.6 KiB
HTML
Executable File
<html>
|
|
<head>
|
|
<title>Test of FullPage plugin</title>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
<script type="text/javascript">
|
|
_editor_url = "../../";
|
|
</script>
|
|
|
|
<!-- load the main HTMLArea files -->
|
|
<script type="text/javascript" src="../../htmlarea.js"></script>
|
|
<script type="text/javascript" src="../../lang/en.js"></script>
|
|
<script type="text/javascript" src="../../dialog.js"></script>
|
|
|
|
<!-- <script type="text/javascript" src="popupdiv.js"></script> -->
|
|
<script type="text/javascript" src="../../popupwin.js"></script>
|
|
|
|
<script type="text/javascript">
|
|
HTMLArea.loadPlugin("TableOperations");
|
|
HTMLArea.loadPlugin("SpellChecker");
|
|
HTMLArea.loadPlugin("FullPage");
|
|
|
|
function initDocument() {
|
|
var editor = new HTMLArea("editor");
|
|
editor.registerPlugin(TableOperations);
|
|
editor.registerPlugin(SpellChecker);
|
|
editor.registerPlugin(FullPage);
|
|
editor.generate();
|
|
}
|
|
</script>
|
|
|
|
<style type="text/css">
|
|
@import url(../../htmlarea.css);
|
|
</style>
|
|
|
|
</head>
|
|
|
|
<body onload="initDocument()">
|
|
<h1>Test of FullPage plugin</h1>
|
|
|
|
<textarea id="editor" style="height: 30em; width: 100%;">
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
|
|
<html>
|
|
<head>
|
|
<title>FullPage plugin for HTMLArea</title>
|
|
<link rel="alternate stylesheet" href="http://dynarch.com/mishoo/css/dark.css" />
|
|
<link rel="stylesheet" href="http://dynarch.com/mishoo/css/cool-light.css" />
|
|
</head>
|
|
<body style="background-color: #ddddee; color: #000077;">
|
|
<table style="width:60%; height: 90%; margin: 2% auto 1% auto;" align="center" border="0" cellpadding="0" cellspacing="0">
|
|
<tr>
|
|
<td style="background-color: #ddeedd; border: 2px solid #002; height: 1.5em; padding: 2px; font: bold 24px Verdana;">
|
|
FullPage plugin
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td style="background-color: #fff; border: 1px solid #aab; padding: 1em 3em; font: 12px Verdana;">
|
|
<p>
|
|
This plugin enables one to edit a full HTML file in <a
|
|
href="http://dynarch.com/htmlarea/">HTMLArea</a>. This is not
|
|
normally possible with just the core editor since it only
|
|
retrieves the HTML inside the <code>body</code> tag.
|
|
</p>
|
|
<p>
|
|
It provides the ability to change the <code>DOCTYPE</code> of
|
|
the document, <code>body</code> <code>bgcolor</code> and
|
|
<code>fgcolor</code> attributes as well as to add additional
|
|
<code>link</code>-ed stylesheets. Cool, eh?
|
|
</p>
|
|
<p>
|
|
The development of this plugin was initiated and sponsored by
|
|
<a href="http://thycotic.com">Thycotic Software Ltd.</a>.
|
|
That's also cool, isn't it? ;-)
|
|
</p>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</body>
|
|
</html>
|
|
</textarea>
|
|
|
|
<hr />
|
|
<address><a href="http://dynarch.com/mishoo/">Mihai Bazon</a></address>
|
|
<!-- Created: Wed Oct 1 19:55:37 EEST 2003 -->
|
|
<!-- hhmts start -->
|
|
Last modified on Sat Oct 25 01:06:59 2003
|
|
<!-- hhmts end -->
|
|
<!-- doc-lang: English -->
|
|
</body>
|
|
</html>
|