![]() ![]() |
Post
#1
|
|
|
Grupa: Zarejestrowani Postów: 13 Pomógł: 0 Dołączył: 2.05.2008 Ostrzeżenie: (0%)
|
Jak zrobić aby ładował się tutaj pluing imagemanager ?
<!DOCTYPE BHTML PUBLIC "-//BC//DTD BHTML 3.2 Final//EN"> <html> <head> <!--------------------------------------:noTabs=true:tabSize=2:indentSize=2:-- -- Xinha example usage. This file shows how a developer might make use of -- Xinha, it forms the primary example file for the entire Xinha project. -- This file can be copied and used as a template for development by the -- end developer who should simply removed the area indicated at the bottom -- of the file to remove the auto-example-generating code and allow for the -- use of the file as a boilerplate. -- -- $HeadURL: http://svn.xinha.python-hosting.com/trunk/...ample-body.html $ -- $LastChangedDate: 2006-09-26 07:14:02 +1200 (Tue, 26 Sep 2006) $ -- $LastChangedRevision: 592 $ -- $LastChangedBy: koto $ ---------------------------------------------------------------------------> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Example of Xinha</title> <link rel="stylesheet" type="text/css" href="full_example.css" /> <script type="text/javascript"> // You must set _editor_url to the URL (including trailing slash) where // where xinha is installed, it's highly recommended to use an absolute URL // eg: _editor_url = "/path/to/xinha/"; // You may try a relative URL if you wish] // eg: _editor_url = "../"; // in this example we do a little regular expression to find the absolute path. _editor_url = document.location.href.replace(/examples\/full_example-body\.html.*/, '') _editor_lang = "en"; // And the language we need to use in the editor. </script> <!-- Load up the actual editor core --> <script type="text/javascript" src="../htmlarea.js"></script> <script type="text/javascript"> xinha_editors = null; xinha_init = null; xinha_config = null; xinha_plugins = null; // This contains the names of textareas we will make into Xinha editors xinha_init = xinha_init ? xinha_init : function() { /** STEP 1 *************************************************************** * First, what are the plugins you will be using in the editors on this * page. List all the plugins you will need, even if not all the editors * will use all the plugins. ************************************************************************/ xinha_plugins = xinha_plugins ? xinha_plugins : [ 'CharacterMap', 'ContextMenu', 'FullScreen', 'ListType', 'SpellChecker', 'Stylist', 'SuperClean', 'TableOperations', 'ImageManager' ]; // THIS BIT OF JAVASCRIPT LOADS THE PLUGINS, NO TOUCHING (IMG:http://forum.php.pl/style_emoticons/default/smile.gif) if(!HTMLArea.loadPlugins(xinha_plugins, xinha_init)) return; xinha_editors = xinha_editors ? xinha_editors : [ 'myTextArea', 'anotherOne' ]; xinha_config = xinha_config ? xinha_config() : new HTMLArea.Config(); xinha_editors = HTMLArea.makeEditors(xinha_editors, xinha_config, xinha_plugins); /** STEP 5 *************************************************************** * If you want to change the configuration variables of any of the * editors, this is the place to do that, for example you might want to * change the width and height of one of the editors, like this... * * xinha_editors.myTextArea.config.width = '640px'; * xinha_editors.myTextArea.config.height = '480px'; * ************************************************************************/ HTMLArea.startEditors(xinha_editors); } window.onload = xinha_init; </script> </head> <body> <form id="editors_here"> <textarea id="myTextArea" name="myTextArea" rows="10" cols="80" style="width:100%"></textarea> <textarea id="anotherOne" name="anotherOne" rows="10" cols="80" style="width:100%"></textarea> </form> |
|
|
|
![]() ![]() |
|
Aktualny czas: 20.12.2025 - 16:23 |