source: trunk/examples/full_example-menu.html @ 177

Last change on this file since 177 was 177, checked in by gogo, 14 years ago
  • Minor comment changes.
  • Refactor events for form submit, reset and window unload
  • Fix reset handler to properly use the original textarea content
  • Minor changes to setHTML etc
  • Use onload for iframe to determine when to initIframe, instead of a timeout
  • Remove overlooked debugging statement in loadPlugins
  • Change some event registrations to use addDom0Event rather than element.onxxx = something
  • Add HTMLArea.flushEvents() as an implementation of #30 - sadly, doesn't work. This is not enabled in the full_example, use examples/testbed.html to test it out.
  • Added methods HTMLArea.addDom0Event and HTMLArea.prependDom0Event which are to be used instead of element.onxxxxx = something;
  • Property svn:eol-style set to native
  • Property svn:keywords set to LastChangedDate LastChangedRevision LastChangedBy HeadURL Id
File size: 4.3 KB
Line 
1<html>
2<head>
3
4  <!--------------------------------------:noTabs=true:tabSize=2:indentSize=2:--
5    --  Xinha example menu.  This file is used by full_example.html within a
6    --  frame to provide a menu for generating example editors using
7    --  full_example-body.html, and full_example.js.
8    --
9    --  $HeadURL$
10    --  $LastChangedDate$
11    --  $LastChangedRevision$
12    --  $LastChangedBy$
13    --------------------------------------------------------------------------->
14
15  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
16  <title>Example of Xinha</title>
17  <link rel="stylesheet" href="full_example.css" />
18  <style type="text/css">
19    label { display:block; }
20  </style>
21</head>
22
23<body>
24  <h1>Xinha Examples</h1>
25
26  <p>
27    Select from the options below and click the Show Example button.
28  </p>
29
30  <form action="full_example-body.html" target="body">
31    <fieldset>
32      <legend>Plugins</legend>
33      <label>
34        <input type="checkbox" name="plugins" value="CSS"  /> CSS
35      </label>
36      <label>
37        <input type="checkbox" name="plugins" value="DynamicCSS"  /> DynamicCSS
38      </label>
39      <label>
40        <input type="checkbox" name="plugins" value="FullPage"  /> FullPage
41      </label>
42      <label>
43        <input type="checkbox" name="plugins" value="FullScreen" checked /> FullScreen
44      </label>
45      <label>
46        <input type="checkbox" name="plugins" value="CharacterMap" checked /> CharacterMap
47      </label>
48      <label>
49        <input type="checkbox" name="plugins" value="ContextMenu" checked /> ContextMenu
50      </label>
51      <label>
52        <input type="checkbox" name="plugins" value="ListType" checked /> ListType
53      </label>
54
55      <label>
56        <input type="checkbox" name="plugins" value="Stylist" checked /> Stylist
57      </label>
58
59      <label>
60        <input type="checkbox" name="plugins" value="TableOperations" checked /> TableOperations
61      </label>
62
63      <label>
64        <input type="checkbox" name="plugins" value="InsertAnchor" checked /> InsertAnchor
65      </label>
66
67      <label>
68        <input type="checkbox" name="plugins" value="FindReplace" checked /> FindReplace
69      </label>
70
71      <label>
72        <input type="checkbox" name="plugins" value="DoubleClick" /> DoubleClick
73      </label>
74
75      <label>
76        <input type="checkbox" name="plugins" value="CharCounter" /> CharCounter
77      </label>
78
79      <label>
80        <input type="checkbox" name="plugins" value="InsertWords" /> InsertWords
81      </label>
82
83      <label>
84        <input type="checkbox" name="plugins" value="Abbreviation" /> Abbreviation
85      </label>
86
87      <label>
88                  <input type="checkbox" name="plugins" value="FormOperations" /> FormOperations
89      </label>
90
91      <label>
92                  <input type="checkbox" name="plugins" value="HorizontalRule" /> HorizontalRule
93      </label>
94
95      <label>
96        <input type="checkbox" name="plugins" value="LangMarks" /> LangMarks
97      </label>
98
99      <label>
100        <input type="checkbox" name="plugins" value="Equation" /> Equation
101      </label>
102
103      <label>
104        <input type="checkbox" name="plugins" value="InsertSmiley" /> InsertSmiley
105      </label>
106
107      <label>
108        <input type="checkbox" name="plugins" value="EditTag" /> EditTag
109      </label>
110
111
112    </fieldset>
113
114    <fieldset>
115      <legend>PHP Plugins</legend>
116      <p>
117        <small>These plugins require PHP in order to run.</small>
118      </p>
119      <label>
120        <input type="checkbox" name="plugins" value="SuperClean"  /> SuperClean
121      </label>
122      <label>
123        <input type="checkbox" name="plugins" value="SpellChecker" /> SpellChecker
124      </label>
125      <label>
126        <input type="checkbox" name="plugins" value="HtmlTidy"  /> HtmlTidy
127      </label>
128      <label>
129        <input type="checkbox" name="plugins" value="Linker"  /> Linker
130      </label>
131      <label>
132        <input type="checkbox" name="plugins" value="ImageManager"  /> ImageManager
133      </label>
134    </fieldset>
135
136    <label>Number of Editors: <input type="text" name="num" value="1" /></label>
137
138    <fieldset>
139    <legend>Language</legend>
140        <select name="lang">
141        <option value="en">English</option>
142        <option value="de">German</option>
143        <option value="fr">French</option>
144        <option value="it">Italian</option>
145        </select>
146    </fieldset>
147
148    <input type="submit" value="Show Example" />
149  </form>
150
151</body>
152</html>
Note: See TracBrowser for help on using the repository browser.