[ Index ]
 

Code source de PHP NUKE 7.9

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/includes/tiny_mce/plugins/flash/ -> readme.txt (source)

   1   FLASH plugin for TinyMCE
   2  -----------------------------
   3  
   4  About:
   5    This is the INSERT FLASH Dialog contributed by Michael Keck.
   6    This one supports popup windows and targets.
   7  
   8  Note:
   9    The placeholder for Flash is called 'mce_plugin_flash' and needs a class 'mce_plugin_flash' in the 'css_-style'.
  10    Do not name another image 'name="mce_plugin_flash"!
  11  
  12  Installation instructions:
  13    * Copy the flash directory to the plugins directory of TinyMCE (/jscripts/tiny_mce/plugins).
  14    * Add plugin to TinyMCE plugin option list example: plugins : "flash".
  15    * Add this "img[class|src|border=0|alt|title|hspace|vspace|width|height|align|onmouseover|onmouseout|name]" to extended_valid_elements option.
  16  
  17  Initialization example:
  18    tinyMCE.init({
  19      theme : "advanced",
  20      mode : "textareas",
  21      plugins : "flash",
  22      extended_valid_elements : "img[class|src|border=0|alt|title|hspace|vspace|width|height|align|onmouseover|onmouseout|name]"
  23      flash_external_list_url : "example_flash_list.js" // Optional URL to a list of Flash movies
  24    });
  25  
  26  
  27  ----------------------------------------------------------------
  28  ADDITIONAL NOTE:
  29  
  30  The flash plugin has been heavily modified (the original is editor_plugin_original.js) since the original did not play nicely with html content that 
  31  already contained existing flash tags and in fact stripped out the object
  32  tags for existing flash html. The rewrite corrects this as well attempts
  33  to preserve the existing flash tags where possible. The tinyMCE.init call
  34  should be be something like: 
  35  
  36  Initialization example:
  37    tinyMCE.init({
  38      theme : "advanced",
  39      mode : "textareas",
  40      plugins : "flash",
  41      extended_valid_elements : "img[class|src|border=0|alt|title|hspace|vspace|width|height|align|onmouseover|onmouseout|name|obj|param|embed]"
  42    });
  43  
  44  Note the extra obj,param,embed attributes for the img tag. These attributes
  45  are used to serialize data from existing flash tags so that they can be
  46  properly restored. Editing a flash tag with the plugin will cause this
  47  information to be lost (sorry !) but still produces a working flash nevertheless.  
  48  


Généré le : Sun Apr 1 11:11:59 2007 par Balluche grâce à PHPXref 0.7