Changeset 612
- Timestamp:
- 11/25/06 13:55:14 (6 years ago)
- Files:
-
- 1 modified
-
trunk/examples/ext_example-body.html (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/examples/ext_example-body.html
r514 r612 21 21 return false; 22 22 } 23 var f = top.frames["menu"].document.forms["fsettings"];24 23 // You must set _editor_url to the URL (including trailing slash) where 25 24 // where xinha is installed, it's highly recommended to use an absolute URL … … 29 28 // in this example we do a little regular expression to find the absolute path. 30 29 _editor_url = document.location.href.replace(/examples\/ext_example-body\.html.*/, '') 31 _editor_lang = f.lang[f.lang.selectedIndex].value; // the language we need to use in the editor. 32 _editor_skin = f.skin[f.skin.selectedIndex].value; // the skin we use in the editor 30 //moved _editor_lang & _editor_skin to init function because of error thrown when frame document not ready 33 31 </script> 34 32 … … 47 45 48 46 var f = top.frames["menu"].document.forms["fsettings"]; 47 _editor_lang = f.lang[f.lang.selectedIndex].value; // the language we need to use in the editor. 48 _editor_skin = f.skin[f.skin.selectedIndex].value; // the skin we use in the editor 49 49 // What are the plugins you will be using in the editors on this page. 50 50 // List all the plugins you will need, even if not all the editors will use all the plugins.
