source: releases/0.9beta/examples/full_example-menu.html @ 646

Last change on this file since 646 was 646, checked in by ray, 12 years ago

And the compressed version in the /releases dir

File size: 7.8 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          <option value="no">Norwegian</option>
51          </select>
52        </label>
53        <label>
54          Skin:
55          <select name="skin">
56          <option value="blue-look">blue-look</option>
57          <option value="green-look">green-look</option>
58          <option value="xp-blue">xp-blue</option>
59          <option value="xp-green">xp-green</option>
60          <option value="inditreuse">inditreuse</option>
61          <option value="blue-metallic">blue-metallic</option>
62          <option value="titan">titan</option>
63          </select>
64        </label>
65    </fieldset>
66
67    <fieldset>
68      <legend>Plugins</legend>
69      <label>
70        <input type="checkbox" name="plugins" value="Abbreviation"> Abbreviation
71      </label>
72      <label>
73        <input type="checkbox" name="plugins" value="BackgroundImage"> BackgroundImage
74      </label>
75      <label>
76        <input type="checkbox" name="plugins" value="CharacterMap" checked="checked" onchange="toggleOnChange(this);"> CharacterMap
77      </label>
78      <div id="CharacterMapOptions" class="options">
79        mode : <select name="CharacterMapMode">
80          <option value="popup">popup</option>
81          <option value="panel">panel</option>
82        </select>
83      </div>
84      <label>
85        <input type="checkbox" name="plugins" value="CharCounter"> CharCounter
86      </label>
87      <label>
88        <input type="checkbox" name="plugins" value="ClientsideSpellcheck" checked="checked"> ClientsideSpellcheck
89      </label>
90      <label>
91        <input type="checkbox" name="plugins" value="ContextMenu" checked="checked"> ContextMenu
92      </label>
93      <label>
94        <input type="checkbox" name="plugins" value="CSS" > CSS
95      </label>
96      <label>
97        <input type="checkbox" name="plugins" value="DoubleClick"> DoubleClick
98      </label>
99      <label>
100        <input type="checkbox" name="plugins" value="DynamicCSS" > DynamicCSS
101      </label>
102      <label>
103        <input type="checkbox" name="plugins" value="EditTag"> EditTag
104      </label>
105      <label>
106        <input type="checkbox" name="plugins" value="EnterParagraphs"> EnterParagraphs
107      </label>
108      <label>
109        <input type="checkbox" name="plugins" value="Equation"> Equation
110      </label>
111      <label>
112        <input type="checkbox" name="plugins" value="FindReplace" checked="checked"> FindReplace
113      </label>
114      <label>
115        <input type="checkbox" name="plugins" value="FormOperations"> FormOperations
116      </label>
117      <label>
118        <input type="checkbox" name="plugins" value="Forms"> Forms
119      </label>
120      <label>
121        <input type="checkbox" name="plugins" value="FullPage" > FullPage
122      </label>
123      <label>
124        <input type="checkbox" name="plugins" value="FullScreen" checked="checked"> FullScreen
125      </label>
126      <label>
127        <input type="checkbox" name="plugins" value="GetHtml" checked="checked"> GetHtml
128      </label>
129      <label>
130        <input type="checkbox" name="plugins" value="HorizontalRule"> HorizontalRule
131      </label>
132      <label>
133        <input type="checkbox" name="plugins" value="InsertAnchor" checked="checked"> InsertAnchor
134      </label>
135      <label>
136        <input type="checkbox" name="plugins" value="InsertMarquee"> InsertMarquee
137      </label>
138      <label>
139        <input type="checkbox" name="plugins" value="InsertPagebreak"> InsertPagebreak
140      </label>
141      <label>
142        <input type="checkbox" name="plugins" value="InsertSmiley"> InsertSmiley
143      </label>
144      <label>
145        <input type="checkbox" name="plugins" value="InsertWords"> InsertWords
146      </label>
147      <label>
148        <input type="checkbox" name="plugins" value="LangMarks"> LangMarks
149      </label>
150      <label>
151        <input type="checkbox" name="plugins" value="ListType" checked="checked" onchange="toggleOnChange(this);"> ListType
152      </label>
153      <div id="ListTypeOptions" class="options">
154        mode : <select name="ListTypeMode">
155          <option value="toolbar">toolbar</option>
156          <option value="panel">panel</option>
157        </select>
158      </div>
159      <label>
160        <input type="checkbox" name="plugins" value="NoteServer"> NoteServer
161      </label>
162      <label>
163        <input type="checkbox" name="plugins" value="PasteText" checked="checked"> PasteText
164      </label>
165      <label>
166        <input type="checkbox" name="plugins" value="QuickTag"> QuickTag
167      </label>
168      <label>
169        <input type="checkbox" name="plugins" value="Stylist" checked="checked"> Stylist
170      </label>
171      <label>
172        <input type="checkbox" name="plugins" value="TableOperations" checked="checked"> TableOperations
173      </label>
174      <label>
175        <input type="checkbox" name="plugins" value="Template"> Template
176      </label>
177      <label>
178        <input type="checkbox" name="plugins" value="UnFormat"> UnFormat
179      </label>
180    </fieldset>
181
182    <fieldset>
183      <legend>PHP Plugins</legend>
184      <p>
185        <small>These plugins require PHP in order to run.</small>
186      </p>
187      <label>
188        <input type="checkbox" name="plugins" value="HtmlTidy"> HtmlTidy
189      </label>
190      <label>
191        <input type="checkbox" name="plugins" value="ImageManager"> ImageManager
192      </label>
193      <label>
194        <input type="checkbox" name="plugins" value="ExtendedFileManager"> ExtendedFileManager
195      </label>
196      <label>
197        <input type="checkbox" name="plugins" value="InsertPicture"> InsertPicture
198      </label>     
199      <label>
200        <input type="checkbox" name="plugins" value="Linker"> Linker
201      </label>
202      <label>
203        <input type="checkbox" name="plugins" value="SpellChecker"> SpellChecker
204      </label>
205      <label>
206        <input type="checkbox" name="plugins" value="SuperClean"> SuperClean
207      </label>
208    </fieldset>
209
210  </form>
211  <script type="text/javascript">
212    top.frames["body"].location.href = document.location.href.replace(/full_example-menu\.html.*/, 'full_example-body.html')
213  </script>
214
215</body>
216</html>
Note: See TracBrowser for help on using the repository browser.