source: trunk/examples/context-menu.html @ 1

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

Bootstrap

File size: 4.6 KB
Line 
1<html>
2  <head>
3    <title>Test of ContextMenu 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 file -->
11    <script type="text/javascript" src="../htmlarea.js"></script>
12
13    <script type="text/javascript">
14      HTMLArea.loadPlugin("ContextMenu");
15      HTMLArea.loadPlugin("TableOperations");
16
17      function initDocument() {
18        var editor = new HTMLArea("editor");
19        editor.registerPlugin(ContextMenu);
20        editor.registerPlugin(TableOperations);
21        editor.generate();
22      }
23    </script>
24
25  </head>
26
27  <body onload="initDocument()">
28    <h1>Test of ContextMenu plugin</h1>
29
30
31<textarea id="editor" style="height: 30em; width: 100%;">
32&lt;table border="1" style="border: 1px dotted rgb(0, 102, 255); width:
33100%; background-color: rgb(255, 204, 51); background-image: none; float:
34none; text-align: left; vertical-align: top; border-collapse: collapse;"
35summary="" cellspacing="" cellpadding="" frame="box"
36rules="all"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="border: 1px solid
37rgb(255, 0, 0); background-color: rgb(0, 51, 51); background-image: none;
38text-align: left; vertical-align: top;"&gt;&lt;a
39href="http://dynarch.com/mishoo/articles.epl?art_id=430"&gt;&lt;img
40src="http://127.0.0.1/~mishoo/htmlarea/examples/pieng.png" alt="" align=""
41border="0" hspace="0" vspace="0" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;td
42style="border: 1px solid rgb(255, 0, 0); background-color: rgb(255, 255, 0);
43background-image: none; text-align: left; vertical-align: top;"&gt;The
44article linked on the left image presents a script that allows Internet
45Explorer to use PNG images.  We hope to be able to implement IE PNG support
46in HTMLArea soon.&lt;br /&gt; &lt;br /&gt; Go on, right-click everywhere and
47test our new context menus.  And be thankful to &lt;a
48href="http://www.americanbible.org/"&gt;American Bible Society&lt;/a&gt; who
49sponsored the development, &lt;a
50href="http://dynarch.com/mishoo/"&gt;mishoo&lt;/a&gt; who made it happen and
51God, Who keeps mishoo alife. ;-)&lt;br /&gt; &lt;br /&gt;&lt;span
52style="font-style: italic;"&gt;P.S.&lt;/span&gt; No animals were harmed
53while producing this movie.&lt;br /&gt;
54&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="border-style: none;
55background-color: rgb(255, 255, 51); background-image: none; text-align:
56left; vertical-align: top;"&gt;Welcome to HTMLArea, the best online
57editor.&lt;br /&gt;&lt;/td&gt;&lt;td&gt;HTMLArea is a project initiated by
58&lt;a href="http://interactivetools.com/"&gt;InteractiveTools.com&lt;/a&gt;.
59Other companies contributed largely by sponsoring the development of
60additional extensions.  Many thanks to:&lt;br /&gt; &lt;br
61style="font-family: courier new,courier,monospace;" /&gt; &lt;div
62style="margin-left: 40px;"&gt;&lt;a href="http://www.zapatec.com/"
63style="font-family: courier
64new,courier,monospace;"&gt;http://www.zapatec.com&lt;/a&gt;&lt;br
65style="font-family: courier new,courier,monospace;" /&gt; &lt;a
66href="http://www.americanbible.org/" style="font-family: courier
67new,courier,monospace;"&gt;http://www.americanbible.org&lt;/a&gt;&lt;br
68style="font-family: courier new,courier,monospace;" /&gt; &lt;a
69href="http://www.neomedia.ro/" style="font-family: courier
70new,courier,monospace;"&gt;http://www.neomedia.ro&lt;/a&gt;&lt;br
71style="font-family: courier new,courier,monospace;" /&gt; &lt;a
72href="http://www.os3.it/" style="font-family: courier
73new,courier,monospace;"&gt;http://www.os3.it&lt;/a&gt;&lt;br
74style="font-family: courier new,courier,monospace;" /&gt; &lt;a
75href="http://www.miro.com.au/" style="font-family: courier
76new,courier,monospace;"&gt;http://www.miro.com.au&lt;/a&gt;&lt;br
77style="font-family: courier new,courier,monospace;" /&gt; &lt;a
78href="http://www.thycotic.com/" style="font-family: courier
79new,courier,monospace;"&gt;http://www.thycotic.com&lt;/a&gt;&lt;br /&gt;
80&lt;/div&gt; &lt;br /&gt; and to all the posters at <a
81href="http://www.interactivetools.com/iforum/Open_Source_C3/htmlArea_v3.0_-_Alpha_Release_F14/
82">InteractiveTools</a> HTMLArea forums, whose feedback is continually
83useful in polishing HTMLArea.&lt;br /&gt; &lt;br /&gt;&lt;div
84style="text-align: right;"&gt;-- developers and maintainers of version 3,
85&lt;a href="http://dynarch.com/"&gt;dynarch.com&lt;/a&gt;.&lt;br
86/&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;
87    </textarea>
88
89    <hr />
90    <address><a href="http://dynarch.com/mishoo/">Mihai Bazon</a></address>
91<!-- Created: Wed Oct  1 19:55:37 EEST 2003 -->
92<!-- hhmts start --> Last modified: Wed Jan 28 11:10:29 EET 2004 <!-- hhmts end -->
93<!-- doc-lang: English -->
94  </body>
95</html>
Note: See TracBrowser for help on using the repository browser.