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

Last change on this file since 485 was 367, checked in by kimss, 14 years ago

Added norwegian language

  • Property svn:eol-style set to native
  • Property svn:keywords set to LastChangedDate LastChangedRevision LastChangedBy HeadURL Id
File size: 7.5 KB
RevLine 
[367]1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
[14]2<html>
3<head>
[306]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;}
[318]17.options {display:none;}
[306]18</style>
[318]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>
[14]31</head>
32
[318]33<body onload="checkPluginsOptions();">
[14]34  <form action="full_example-body.html" target="body">
[306]35    <p>
36      Select from the options below and <input type="submit" value="click to show Example">
37    </p>
[14]38    <fieldset>
[306]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>
[367]50          <option value="no">Norwegian</option>
[306]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>
[333]62          <option value="titan">titan</option>
[306]63          </select>
64        </label>
65    </fieldset>
66
67    <fieldset>
[14]68      <legend>Plugins</legend>
69      <label>
[306]70        <input type="checkbox" name="plugins" value="Abbreviation"> Abbreviation
[14]71      </label>
72      <label>
[329]73        <input type="checkbox" name="plugins" value="BackgroundImage"> BackgroundImage
74      </label>
75      <label>
[318]76        <input type="checkbox" name="plugins" value="CharacterMap" checked="checked" onchange="toggleOnChange(this);"> CharacterMap
[14]77      </label>
[318]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>
[14]84      <label>
[306]85        <input type="checkbox" name="plugins" value="CharCounter"> CharCounter
[14]86      </label>
87      <label>
[357]88        <input type="checkbox" name="plugins" value="ClientsideSpellcheck" checked="checked"> ClientsideSpellcheck
89      </label>
90      <label>
[306]91        <input type="checkbox" name="plugins" value="ContextMenu" checked="checked"> ContextMenu
[14]92      </label>
93      <label>
[306]94        <input type="checkbox" name="plugins" value="CSS" > CSS
[14]95      </label>
96      <label>
[306]97        <input type="checkbox" name="plugins" value="DoubleClick"> DoubleClick
[14]98      </label>
99      <label>
[306]100        <input type="checkbox" name="plugins" value="DynamicCSS" > DynamicCSS
[14]101      </label>
102      <label>
[306]103        <input type="checkbox" name="plugins" value="EditTag"> EditTag
[14]104      </label>
105      <label>
[357]106        <input type="checkbox" name="plugins" value="EnterParagraphs"> EnterParagraphs
107      </label>
108      <label>
[306]109        <input type="checkbox" name="plugins" value="Equation"> Equation
[14]110      </label>
[33]111      <label>
[306]112        <input type="checkbox" name="plugins" value="FindReplace" checked="checked"> FindReplace
[33]113      </label>
[90]114      <label>
[306]115        <input type="checkbox" name="plugins" value="FormOperations"> FormOperations
[90]116      </label>
[132]117      <label>
[306]118        <input type="checkbox" name="plugins" value="Forms"> Forms
[132]119      </label>
120      <label>
[306]121        <input type="checkbox" name="plugins" value="FullPage" > FullPage
[132]122      </label>
[134]123      <label>
[306]124        <input type="checkbox" name="plugins" value="FullScreen" checked="checked"> FullScreen
[142]125      </label>
126      <label>
[357]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>
[306]133        <input type="checkbox" name="plugins" value="InsertAnchor" checked="checked"> InsertAnchor
[134]134      </label>
[153]135      <label>
[306]136        <input type="checkbox" name="plugins" value="InsertMarquee"> InsertMarquee
[197]137      </label>
138      <label>
[329]139        <input type="checkbox" name="plugins" value="InsertPagebreak"> InsertPagebreak
140      </label>
141      <label>
[306]142        <input type="checkbox" name="plugins" value="InsertSmiley"> InsertSmiley
[155]143      </label>
144      <label>
[306]145        <input type="checkbox" name="plugins" value="InsertWords"> InsertWords
[153]146      </label>
[154]147      <label>
[306]148        <input type="checkbox" name="plugins" value="LangMarks"> LangMarks
[154]149      </label>
[156]150      <label>
[318]151        <input type="checkbox" name="plugins" value="ListType" checked="checked" onchange="toggleOnChange(this);"> ListType
[211]152      </label>
[318]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>
[211]159      <label>
[311]160        <input type="checkbox" name="plugins" value="NoteServer"> NoteServer
161      </label>
162      <label>
[357]163        <input type="checkbox" name="plugins" value="PasteText" checked="checked"> PasteText
164      </label>
165      <label>
[306]166        <input type="checkbox" name="plugins" value="QuickTag"> QuickTag
[212]167      </label>
168      <label>
[306]169        <input type="checkbox" name="plugins" value="Stylist" checked="checked"> Stylist
[156]170      </label>
[191]171      <label>
[306]172        <input type="checkbox" name="plugins" value="TableOperations" checked="checked"> TableOperations
[191]173      </label>
[228]174      <label>
[306]175        <input type="checkbox" name="plugins" value="Template"> Template
[228]176      </label>
[320]177      <label>
[329]178        <input type="checkbox" name="plugins" value="UnFormat"> UnFormat
[320]179      </label>
[14]180    </fieldset>
181
182    <fieldset>
183      <legend>PHP Plugins</legend>
184      <p>
[156]185        <small>These plugins require PHP in order to run.</small>
[14]186      </p>
187      <label>
[306]188        <input type="checkbox" name="plugins" value="HtmlTidy"> HtmlTidy
[14]189      </label>
190      <label>
[306]191        <input type="checkbox" name="plugins" value="ImageManager"> ImageManager
[14]192      </label>
193      <label>
[329]194        <input type="checkbox" name="plugins" value="InsertPicture"> InsertPicture
195      </label>     
196      <label>
[306]197        <input type="checkbox" name="plugins" value="Linker"> Linker
[14]198      </label>
199      <label>
[306]200        <input type="checkbox" name="plugins" value="SpellChecker"> SpellChecker
[14]201      </label>
[43]202      <label>
[306]203        <input type="checkbox" name="plugins" value="SuperClean"> SuperClean
[43]204      </label>
[14]205    </fieldset>
206
207  </form>
[312]208  <script type="text/javascript">
209    top.frames["body"].location.href = document.location.href.replace(/full_example-menu\.html.*/, 'full_example-body.html')
210  </script>
[14]211
212</body>
[329]213</html>
Note: See TracBrowser for help on using the repository browser.