Ignore:
Timestamp:
02/19/18 09:14:05 (21 months ago)
Author:
gogo
Message:

A little quick tidy up of examples.

Location:
trunk/examples
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/examples

    • Property svn:ignore set to
      password.php
  • trunk/examples/simple_example.html

    r987 r1406  
    1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> 
     1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> 
    22<html> 
    33<head> 
     
    55<title>Simple example of Xinha</title> 
    66<script type="text/javascript"> 
    7 var _editor_url  = document.location.href.replace(/examples\/simple_example\.html.*/, '') 
    8  
    9 var _editor_lang = "en"; 
     7  var _editor_url  = document.location.href.replace(/examples\/simple_example\.html.*/, '') 
     8  var _editor_lang = "en"; 
    109</script> 
    1110<!-- Load up the actual editor core --> 
     
    1514var xinha_plugins = 
    1615[ 
    17  'Linker' 
     16 'Linker', 'ContextMenu', 'FancySelects', 'TableOperations', 'ListOperations', 'PreserveSelection', 'PreserveScripts', 'WebKitResize' 
    1817]; 
     18 
    1919var xinha_editors = 
    2020[ 
    21   'myTextArea', 
    22   'anotherOne' 
     21  'myTextArea' 
    2322]; 
    2423 
     
    2827 
    2928  var xinha_config = new Xinha.Config(); 
    30  
     29   
    3130  xinha_editors = Xinha.makeEditors(xinha_editors, xinha_config, xinha_plugins); 
    3231 
     
    3938 
    4039<body> 
     40<div> 
     41<form onsubmit="alert(this.myTextArea.value); return false;" style=""> 
    4142 
    42 <form onsubmit="alert(this.myTextArea.value); return false;"> 
    4343<textarea id="myTextArea" name="myTextArea" rows="25" cols="80"> 
    4444&lt;p&gt;Lorem ipsum dolor sit amet, consectetuer adipiscing elit. 
     
    4949parturient montes, nascetur ridiculus mus. Nam nec wisi. In wisi. 
    5050Curabitur pharetra bibendum lectus.&lt;/p&gt; 
     51 
    5152</textarea> 
     53<input type="submit" value="SUBMIT" /> 
    5254</form> 
     55</div> 
     56 
     57  <!-- This script is used to show the rendering mode (Quirks, Standards, Almost Standards) -->  
     58  <script type="text/javascript" src="render-mode-developer-help.js"></script> 
     59       
    5360</body> 
    5461</html> 
Note: See TracChangeset for help on using the changeset viewer.