Changeset 35 for trunk/examples


Ignore:
Timestamp:
03/05/05 08:42:32 (14 years ago)
Author:
gogo
Message:

Fix for ticket #50

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/examples/full_example-body.html

    r33 r35  
    2121 
    2222  <script type="text/javascript"> 
    23     _editor_url = "../";      // This is a path to the base xinha directory. 
     23    // You must set _editor_url to the URL (including trailing slash) where 
     24    // where xinha is installed, it's highly recommended to use an absolute URL 
     25    //  eg: _editor_url = "/path/to/xinha/"; 
     26    // You may try a relative URL if you wish] 
     27    //  eg: _editor_url = "../"; 
     28    // in this example we do a little regular expression to find the absolute path. 
     29    _editor_url  = document.location.href.replace(/examples\/full_example-body\.html.*/, '') 
    2430    _editor_lang = "en";      // And the language we need to use in the editor. 
    2531  </script> 
Note: See TracChangeset for help on using the changeset viewer.