Ignore:
Timestamp:
03/23/07 20:31:32 (13 years ago)
Author:
ray
Message:

updated branch

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/ray/examples/testbed.html

    r791 r796  
    3030    // in this example we do a little regular expression to find the absolute path. 
    3131    _editor_url  = document.location.href.replace(/examples\/.*/, '') 
    32     _editor_lang = "de";      // And the language we need to use in the editor. 
     32    _editor_lang = "en";      // And the language we need to use in the editor. 
    3333  </script> 
    3434 
     
    6363       [ 
    6464         'CharacterMap',  
    65         // 'Linker', 
    66         // 'Stylist', 
    67         // 'SmartReplace' 
     65        'Linker', 
     66        'Stylist', 
     67        'SmartReplace' 
    6868       ]; 
    6969             // THIS BIT OF JAVASCRIPT LOADS THE PLUGINS, NO TOUCHING  :) 
     
    8585       xinha_config = xinha_config ? xinha_config : new Xinha.Config(); 
    8686    
    87        // xinha_config.stylistLoadStylesheet(document.location.href.replace(/[^\/]*\.html/, 'stylist.css')); 
     87        xinha_config.stylistLoadStylesheet(document.location.href.replace(/[^\/]*\.html/, 'stylist.css')); 
    8888          
    8989      //xinha_config.CharacterMap.mode = 'panel'; 
     
    148148<body> 
    149149 
    150   <form action="test_dest.php" id="editors_here" onsubmit="alert(this.myTextArea.value);"> 
    151 <input type="checkbox" name="hallo" /> 
    152 <select> 
    153 <option>Test</option> 
    154 </select> 
     150  <form action="" id="editors_here" onsubmit="alert(this.myTextArea.value);"> 
    155151<br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /> 
    156152  <textarea id="myTextArea" name="myTextArea" style="width:100%;height:300px;"> 
    157153    <table cellspacing="1" cellpadding="1" border="1" style="width: 100%;"><tbody><tr><td style="width: 25%;">&nbsp;</td><td style="width: 25%;">&nbsp;</td><td style="width: 25%;">&nbsp;</td><td style="width: 25%;">&nbsp;</td></tr><tr><td style="width: 25%;">&nbsp;</td><td style="width: 25%;">&nbsp;</td><td style="width: 25%;">&nbsp;</td><td style="width: 25%;">&nbsp;</td></tr></tbody></table><br /></textarea> 
    158154 
    159     <input type="submit" /> <input type="reset" /><input type="checkbox" name="hallo" /> 
    160 <select> 
    161 <option>Test</option> 
    162 </select> 
    163   <textarea name="myTextArea" style="width:100%;height:320px;"> 
    164     <table cellspacing="1" cellpadding="1" border="1" style="width: 100%;"><tbody><tr><td style="width: 25%;">&nbsp;</td><td style="width: 25%;">&nbsp;</td><td style="width: 25%;">&nbsp;</td><td style="width: 25%;">&nbsp;</td></tr><tr><td style="width: 25%;">&nbsp;</td><td style="width: 25%;">&nbsp;</td><td style="width: 25%;">&nbsp;</td><td style="width: 25%;">&nbsp;</td></tr></tbody></table><br /></textarea> 
    165  
    166     <input type="submit" /> <input type="reset" /> 
     155<br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /> 
    167156  </form> 
    168157  <script language="javascript"> 
Note: See TracChangeset for help on using the changeset viewer.