[ Index ]
 

Code source de TinyMCE 2.1.0

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

title

Body

[fermer]

/examples/ -> example_simple.htm (source)

   1  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
   2  <html xmlns="http://www.w3.org/1999/xhtml">
   3  <head>
   4  <meta http-equiv="content-type" content="application/xhtml+xml; charset=utf-8" />
   5  <title>Simple example</title>
   6  <!-- tinyMCE -->
   7  <script language="javascript" type="text/javascript" src="../jscripts/tiny_mce/tiny_mce.js"></script>
   8  <script language="javascript" type="text/javascript">
   9      // Notice: The simple theme does not use all options some of them are limited to the advanced theme
  10      tinyMCE.init({
  11          mode : "textareas",
  12          theme : "simple"
  13      });
  14  </script>
  15  <!-- /tinyMCE -->
  16  
  17  </head>
  18  <body>
  19  
  20  <a href="example_full.htm">[Full featured example]</a> <a href="example_advanced.htm">[Advanced example]</a> [Simple example] <a href="example_word.htm">[Word example]</a>
  21  
  22  <form method="post" action="http://tinymce.moxiecode.com/dump.php?example=true">
  23  <h3>Simple example</h3>
  24  This page shows how to use TinyMCE on a HTML page in the most common and simple way. On this page each TEXTAREA
  25  element gets converted to a editor instance on page load. Notice how TinyMCE tries to match the width and height of the old text area elements. Read more about the features and settings of TinyMCE in the <a href="../docs/index.html">manual</a>.<br /><br />
  26  
  27  <textarea id="elm1" name="elm1" rows="10" cols="40">
  28      Some &lt;b&gt;element&lt;/b&gt;, this is to be editor 1.
  29      &lt;p&gt;Some paragraph. &lt;a href=&quot;http://www.sourceforge.net&quot;&gt;Some link&lt;/a&gt;&lt;/p&gt;
  30      &lt;img src=&quot;logo.jpg&quot;&gt;
  31  </textarea>
  32  
  33  <br />
  34  
  35  <textarea id="elm2" name="elm2" rows="15" cols="32">
  36      Some &lt;b&gt;element&lt;/b&gt;, this is to be editor 2.
  37      &lt;p&gt;Some paragraph. &lt;a href=&quot;http://www.sourceforge.net&quot;&gt;Some link&lt;/a&gt;&lt;/p&gt;
  38      &lt;img src=&quot;logo.jpg&quot;&gt;
  39  </textarea>
  40  <br />
  41      <input type="submit" name="save" value="Submit" />
  42      <input type="reset" name="reset" value="Reset" />
  43  </form>
  44  
  45  </body>
  46  </html>


Généré le : Sun Feb 25 15:23:03 2007 par Balluche grâce à PHPXref 0.7