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

Last change on this file since 357 was 357, checked in by gocher, 14 years ago

Ticket #253
improved getHTML

Here is an updated example menu with this plugin and the rest that are in the folder, added by mharrisonline on Tue Sep 27 20:32:33 2005.

  • Property svn:eol-style set to native
  • Property svn:keywords set to LastChangedDate LastChangedRevision LastChangedBy HeadURL Id
File size: 7.4 KB
Line 
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2<html>
3<head>
4<!--
5:noTabs=true:tabSize=2:indentSize=2:
6Xinha example menu.  This file is used by full_example.html within a
7frame to provide a menu for generating example editors using
8full_example-body.html, and full_example.js.
9-->
10<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
11<title>Example of Xinha</title>
12<link rel="stylesheet" href="full_example.css" type="text/css">
13<style type="text/css">
14form, p {margin:0; padding:0;}
15label {display:block;}
16#numeditor {width:25px;}
17.options {display:none;}
18</style>
19<script type="text/javascript">
20function checkPluginsOptions()
21{
22  var plugins = document.forms[0].elements['plugins'];
23  for(var x = 0; x < plugins.length; x++)
24    if (document.getElementById(plugins[x].value + 'Options'))
25      document.getElementById(plugins[x].value + 'Options').style.display = (plugins[x].checked)? 'block':'none';
26}
27function toggleOnChange(elt) {
28  document.getElementById(elt.value + 'Options').style.display = (elt.checked)? 'block':'none';
29}
30</script>
31</head>
32
33<body onload="checkPluginsOptions();">
34  <form action="full_example-body.html" target="body">
35    <p>
36      Select from the options below and <input type="submit" value="click to show Example">
37    </p>
38    <fieldset>
39      <legend>Settings</legend>
40        <label>
41          Number of Editors: <input type="text" name="num" value="1" id="numeditor" maxlength="2">
42        </label>
43        <label>
44          Language:
45          <select name="lang">
46          <option value="en">English</option>
47          <option value="de">German</option>
48          <option value="fr">French</option>
49          <option value="it">Italian</option>
50          </select>
51        </label>
52        <label>
53          Skin:
54          <select name="skin">
55          <option value="blue-look">blue-look</option>
56          <option value="green-look">green-look</option>
57          <option value="xp-blue">xp-blue</option>
58          <option value="xp-green">xp-green</option>
59          <option value="inditreuse">inditreuse</option>
60          <option value="blue-metallic">blue-metallic</option>
61          <option value="titan">titan</option>
62          </select>
63        </label>
64    </fieldset>
65
66    <fieldset>
67      <legend>Plugins</legend>
68      <label>
69        <input type="checkbox" name="plugins" value="Abbreviation"> Abbreviation
70      </label>
71      <label>
72        <input type="checkbox" name="plugins" value="BackgroundImage"> BackgroundImage
73      </label>
74      <label>
75        <input type="checkbox" name="plugins" value="CharacterMap" checked="checked" onchange="toggleOnChange(this);"> CharacterMap
76      </label>
77      <div id="CharacterMapOptions" class="options">
78        mode : <select name="CharacterMapMode">
79          <option value="popup">popup</option>
80          <option value="panel">panel</option>
81        </select>
82      </div>
83      <label>
84        <input type="checkbox" name="plugins" value="CharCounter"> CharCounter
85      </label>
86      <label>
87        <input type="checkbox" name="plugins" value="ClientsideSpellcheck" checked="checked"> ClientsideSpellcheck
88      </label>
89      <label>
90        <input type="checkbox" name="plugins" value="ContextMenu" checked="checked"> ContextMenu
91      </label>
92      <label>
93        <input type="checkbox" name="plugins" value="CSS" > CSS
94      </label>
95      <label>
96        <input type="checkbox" name="plugins" value="DoubleClick"> DoubleClick
97      </label>
98      <label>
99        <input type="checkbox" name="plugins" value="DynamicCSS" > DynamicCSS
100      </label>
101      <label>
102        <input type="checkbox" name="plugins" value="EditTag"> EditTag
103      </label>
104      <label>
105        <input type="checkbox" name="plugins" value="EnterParagraphs"> EnterParagraphs
106      </label>
107      <label>
108        <input type="checkbox" name="plugins" value="Equation"> Equation
109      </label>
110      <label>
111        <input type="checkbox" name="plugins" value="FindReplace" checked="checked"> FindReplace
112      </label>
113      <label>
114        <input type="checkbox" name="plugins" value="FormOperations"> FormOperations
115      </label>
116      <label>
117        <input type="checkbox" name="plugins" value="Forms"> Forms
118      </label>
119      <label>
120        <input type="checkbox" name="plugins" value="FullPage" > FullPage
121      </label>
122      <label>
123        <input type="checkbox" name="plugins" value="FullScreen" checked="checked"> FullScreen
124      </label>
125      <label>
126        <input type="checkbox" name="plugins" value="GetHtml" checked="checked"> GetHtml
127      </label>
128      <label>
129        <input type="checkbox" name="plugins" value="HorizontalRule"> HorizontalRule
130      </label>
131      <label>
132        <input type="checkbox" name="plugins" value="InsertAnchor" checked="checked"> InsertAnchor
133      </label>
134      <label>
135        <input type="checkbox" name="plugins" value="InsertMarquee"> InsertMarquee
136      </label>
137      <label>
138        <input type="checkbox" name="plugins" value="InsertPagebreak"> InsertPagebreak
139      </label>
140      <label>
141        <input type="checkbox" name="plugins" value="InsertSmiley"> InsertSmiley
142      </label>
143      <label>
144        <input type="checkbox" name="plugins" value="InsertWords"> InsertWords
145      </label>
146      <label>
147        <input type="checkbox" name="plugins" value="LangMarks"> LangMarks
148      </label>
149      <label>
150        <input type="checkbox" name="plugins" value="ListType" checked="checked" onchange="toggleOnChange(this);"> ListType
151      </label>
152      <div id="ListTypeOptions" class="options">
153        mode : <select name="ListTypeMode">
154          <option value="toolbar">toolbar</option>
155          <option value="panel">panel</option>
156        </select>
157      </div>
158      <label>
159        <input type="checkbox" name="plugins" value="NoteServer"> NoteServer
160      </label>
161      <label>
162        <input type="checkbox" name="plugins" value="PasteText" checked="checked"> PasteText
163      </label>
164      <label>
165        <input type="checkbox" name="plugins" value="QuickTag"> QuickTag
166      </label>
167      <label>
168        <input type="checkbox" name="plugins" value="Stylist" checked="checked"> Stylist
169      </label>
170      <label>
171        <input type="checkbox" name="plugins" value="TableOperations" checked="checked"> TableOperations
172      </label>
173      <label>
174        <input type="checkbox" name="plugins" value="Template"> Template
175      </label>
176      <label>
177        <input type="checkbox" name="plugins" value="UnFormat"> UnFormat
178      </label>
179    </fieldset>
180
181    <fieldset>
182      <legend>PHP Plugins</legend>
183      <p>
184        <small>These plugins require PHP in order to run.</small>
185      </p>
186      <label>
187        <input type="checkbox" name="plugins" value="HtmlTidy"> HtmlTidy
188      </label>
189      <label>
190        <input type="checkbox" name="plugins" value="ImageManager"> ImageManager
191      </label>
192      <label>
193        <input type="checkbox" name="plugins" value="InsertPicture"> InsertPicture
194      </label>     
195      <label>
196        <input type="checkbox" name="plugins" value="Linker"> Linker
197      </label>
198      <label>
199        <input type="checkbox" name="plugins" value="SpellChecker"> SpellChecker
200      </label>
201      <label>
202        <input type="checkbox" name="plugins" value="SuperClean"> SuperClean
203      </label>
204    </fieldset>
205
206  </form>
207  <script type="text/javascript">
208    top.frames["body"].location.href = document.location.href.replace(/full_example-menu\.html.*/, 'full_example-body.html')
209  </script>
210
211</body>
212</html>
Note: See TracBrowser for help on using the repository browser.