/EQT_V1/EQTWebApp/fckeditor/_samples/html/sample15.html

http://sgsoft-las.googlecode.com/ · HTML · 66 lines · 27 code · 0 blank · 39 comment · 0 complexity · 9da9929bbf156df6f6dc4b183348904f MD5 · raw file

  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <!--
  3. * FCKeditor - The text editor for Internet - http://www.fckeditor.net
  4. * Copyright (C) 2003-2009 Frederico Caldeira Knabben
  5. *
  6. * == BEGIN LICENSE ==
  7. *
  8. * Licensed under the terms of any of the following licenses at your
  9. * choice:
  10. *
  11. * - GNU General Public License Version 2 or later (the "GPL")
  12. * http://www.gnu.org/licenses/gpl.html
  13. *
  14. * - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
  15. * http://www.gnu.org/licenses/lgpl.html
  16. *
  17. * - Mozilla Public License Version 1.1 or later (the "MPL")
  18. * http://www.mozilla.org/MPL/MPL-1.1.html
  19. *
  20. * == END LICENSE ==
  21. *
  22. * Sample page.
  23. -->
  24. <html xmlns="http://www.w3.org/1999/xhtml">
  25. <head>
  26. <title>FCKeditor - Sample</title>
  27. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  28. <meta name="robots" content="noindex, nofollow" />
  29. <link href="../sample.css" rel="stylesheet" type="text/css" />
  30. <script type="text/javascript" src="../../fckeditor.js"></script>
  31. </head>
  32. <body>
  33. <h1>
  34. FCKeditor - JavaScript - Sample 15
  35. </h1>
  36. <div>
  37. This sample shows FCKeditor configured to produce a legacy HTML4 document. Traditional
  38. HTML elements like &lt;b&gt;, &lt;i&gt;, and &lt;font&gt; are used in place of
  39. &lt;strong&gt;, &lt;em&gt; and CSS styles.
  40. </div>
  41. <hr />
  42. <form action="../php/sampleposteddata.php" method="post" target="_blank">
  43. <script type="text/javascript">
  44. <!--
  45. // Automatically calculates the editor base path based on the _samples directory.
  46. // This is usefull only for these samples. A real application should use something like this:
  47. // oFCKeditor.BasePath = '/fckeditor/' ; // '/fckeditor/' is the default value.
  48. var sBasePath = document.location.href.substring(0,document.location.href.lastIndexOf('_samples')) ;
  49. var oFCKeditor = new FCKeditor( 'FCKeditor1' ) ;
  50. oFCKeditor.BasePath = sBasePath ;
  51. // Instruct the editor to load our configurations from a custom file, leaving the
  52. // original configuration file untouched.
  53. oFCKeditor.Config['CustomConfigurationsPath'] = sBasePath + '_samples/html/assets/sample15.config.js' ;
  54. oFCKeditor.Height = 300 ;
  55. oFCKeditor.Value = '<p>This is some <b>sample text<\/b>. You are using <a href="http://www.fckeditor.net/">FCKeditor<\/a>.<\/p>' ;
  56. oFCKeditor.Create() ;
  57. //-->
  58. </script>
  59. <br />
  60. <input type="submit" value="Submit" />
  61. </form>
  62. </body>
  63. </html>