mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-08-19 12:55:08 +02:00
updating to HTMLAREA RC1/CVS
This commit is contained in:
95
phpgwapi/js/htmlarea/examples/context-menu.html
Executable file
95
phpgwapi/js/htmlarea/examples/context-menu.html
Executable file
@@ -0,0 +1,95 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>Test of ContextMenu plugin</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<script type="text/javascript">
|
||||
_editor_url = "../";
|
||||
_editor_lang = "en";
|
||||
</script>
|
||||
|
||||
<!-- load the main HTMLArea file -->
|
||||
<script type="text/javascript" src="../htmlarea.js"></script>
|
||||
|
||||
<script type="text/javascript">
|
||||
HTMLArea.loadPlugin("ContextMenu");
|
||||
HTMLArea.loadPlugin("TableOperations");
|
||||
|
||||
function initDocument() {
|
||||
var editor = new HTMLArea("editor");
|
||||
editor.registerPlugin(ContextMenu);
|
||||
editor.registerPlugin(TableOperations);
|
||||
editor.generate();
|
||||
}
|
||||
</script>
|
||||
|
||||
</head>
|
||||
|
||||
<body onload="initDocument()">
|
||||
<h1>Test of ContextMenu plugin</h1>
|
||||
|
||||
|
||||
<textarea id="editor" style="height: 30em; width: 100%;">
|
||||
<table border="1" style="border: 1px dotted rgb(0, 102, 255); width:
|
||||
100%; background-color: rgb(255, 204, 51); background-image: none; float:
|
||||
none; text-align: left; vertical-align: top; border-collapse: collapse;"
|
||||
summary="" cellspacing="" cellpadding="" frame="box"
|
||||
rules="all"><tbody><tr><td style="border: 1px solid
|
||||
rgb(255, 0, 0); background-color: rgb(0, 51, 51); background-image: none;
|
||||
text-align: left; vertical-align: top;"><a
|
||||
href="http://dynarch.com/mishoo/articles.epl?art_id=430"><img
|
||||
src="http://127.0.0.1/~mishoo/htmlarea/examples/pieng.png" alt="" align=""
|
||||
border="0" hspace="0" vspace="0" /></a></td><td
|
||||
style="border: 1px solid rgb(255, 0, 0); background-color: rgb(255, 255, 0);
|
||||
background-image: none; text-align: left; vertical-align: top;">The
|
||||
article linked on the left image presents a script that allows Internet
|
||||
Explorer to use PNG images. We hope to be able to implement IE PNG support
|
||||
in HTMLArea soon.<br /> <br /> Go on, right-click everywhere and
|
||||
test our new context menus. And be thankful to <a
|
||||
href="http://www.americanbible.org/">American Bible Society</a> who
|
||||
sponsored the development, <a
|
||||
href="http://dynarch.com/mishoo/">mishoo</a> who made it happen and
|
||||
God, Who keeps mishoo alife. ;-)<br /> <br /><span
|
||||
style="font-style: italic;">P.S.</span> No animals were harmed
|
||||
while producing this movie.<br />
|
||||
</td></tr><tr><td style="border-style: none;
|
||||
background-color: rgb(255, 255, 51); background-image: none; text-align:
|
||||
left; vertical-align: top;">Welcome to HTMLArea, the best online
|
||||
editor.<br /></td><td>HTMLArea is a project initiated by
|
||||
<a href="http://interactivetools.com/">InteractiveTools.com</a>.
|
||||
Other companies contributed largely by sponsoring the development of
|
||||
additional extensions. Many thanks to:<br /> <br
|
||||
style="font-family: courier new,courier,monospace;" /> <div
|
||||
style="margin-left: 40px;"><a href="http://www.zapatec.com/"
|
||||
style="font-family: courier
|
||||
new,courier,monospace;">http://www.zapatec.com</a><br
|
||||
style="font-family: courier new,courier,monospace;" /> <a
|
||||
href="http://www.americanbible.org/" style="font-family: courier
|
||||
new,courier,monospace;">http://www.americanbible.org</a><br
|
||||
style="font-family: courier new,courier,monospace;" /> <a
|
||||
href="http://www.neomedia.ro/" style="font-family: courier
|
||||
new,courier,monospace;">http://www.neomedia.ro</a><br
|
||||
style="font-family: courier new,courier,monospace;" /> <a
|
||||
href="http://www.os3.it/" style="font-family: courier
|
||||
new,courier,monospace;">http://www.os3.it</a><br
|
||||
style="font-family: courier new,courier,monospace;" /> <a
|
||||
href="http://www.miro.com.au/" style="font-family: courier
|
||||
new,courier,monospace;">http://www.miro.com.au</a><br
|
||||
style="font-family: courier new,courier,monospace;" /> <a
|
||||
href="http://www.thycotic.com/" style="font-family: courier
|
||||
new,courier,monospace;">http://www.thycotic.com</a><br />
|
||||
</div> <br /> and to all the posters at <a
|
||||
href="http://www.interactivetools.com/iforum/Open_Source_C3/htmlArea_v3.0_-_Alpha_Release_F14/
|
||||
">InteractiveTools</a> HTMLArea forums, whose feedback is continually
|
||||
useful in polishing HTMLArea.<br /> <br /><div
|
||||
style="text-align: right;">-- developers and maintainers of version 3,
|
||||
<a href="http://dynarch.com/">dynarch.com</a>.<br
|
||||
/></div></td></tr></tbody></table>
|
||||
</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: Wed Jan 28 11:10:29 EET 2004 <!-- hhmts end -->
|
||||
<!-- doc-lang: English -->
|
||||
</body>
|
||||
</html>
|
Reference in New Issue
Block a user