| 1 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
|---|
| 2 | <!-- |
|---|
| 3 | Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. |
|---|
| 4 | For licensing, see LICENSE.html or http://ckeditor.com/license |
|---|
| 5 | --> |
|---|
| 6 | <html xmlns="http://www.w3.org/1999/xhtml"> |
|---|
| 7 | <head> |
|---|
| 8 | <title>Output for Flash — CKEditor Sample</title> |
|---|
| 9 | <meta content="text/html; charset=utf-8" http-equiv="content-type" /> |
|---|
| 10 | <script type="text/javascript" src="../ckeditor.js"></script> |
|---|
| 11 | <script src="sample.js" type="text/javascript"></script> |
|---|
| 12 | <link href="sample.css" rel="stylesheet" type="text/css" /> |
|---|
| 13 | |
|---|
| 14 | <SCRIPT> |
|---|
| 15 | var count = 1; |
|---|
| 16 | |
|---|
| 17 | CreateRTE = function () |
|---|
| 18 | { |
|---|
| 19 | if(count < 16 ){ |
|---|
| 20 | var temp = ("editor"+count); |
|---|
| 21 | CKEDITOR.replace(temp); |
|---|
| 22 | count = count + 1; |
|---|
| 23 | } |
|---|
| 24 | } |
|---|
| 25 | </SCRIPT> |
|---|
| 26 | </head> |
|---|
| 27 | <body> |
|---|
| 28 | <h1> |
|---|
| 29 | CKEditor Sample |
|---|
| 30 | </h1> |
|---|
| 31 | <!-- This <div> holds alert messages to be display in the sample page. --> |
|---|
| 32 | <div id="alerts"> |
|---|
| 33 | <noscript> |
|---|
| 34 | |
|---|
| 35 | <p> |
|---|
| 36 | <strong>CKEditor requires JavaScript to run</strong>. In a browser with no JavaScript |
|---|
| 37 | support, like yours, you should still see the contents (HTML data) and you should |
|---|
| 38 | be able to edit it normally, without a rich editor interface. |
|---|
| 39 | </p> |
|---|
| 40 | </noscript> |
|---|
| 41 | <p> |
|---|
| 42 | <input id="rteclick" type="button" value="Create Editor" onclick='javascript:CreateRTE();'/> |
|---|
| 43 | </p> |
|---|
| 44 | </div> |
|---|
| 45 | <!-- This <fieldset> holds the HTML that you will usually find in your |
|---|
| 46 | pages. --> |
|---|
| 47 | <fieldset title="Output"> |
|---|
| 48 | <legend>Output</legend> |
|---|
| 49 | <form action="sample_posteddata.php" method="post"> |
|---|
| 50 | <p><div id="editorcontent"> |
|---|
| 51 | <label for="editor1"> |
|---|
| 52 | Editor 1:</label><br/> |
|---|
| 53 | <textarea cols="80" name="editor1" id="editor1" rows="10"><p>This is some <strong>sample text</strong>. You are using <a href="http://www.fckeditor.net/">CKEditor</a>.</p></textarea> |
|---|
| 54 | <textarea cols="80" name="editor1" id="editor2" rows="10"><p>This is some <strong>sample text</strong>. You are using <a href="http://www.fckeditor.net/">CKEditor</a>.</p></textarea> |
|---|
| 55 | <textarea cols="80" name="editor1" id="editor3" rows="10"><p>This is some <strong>sample text</strong>. You are using <a href="http://www.fckeditor.net/">CKEditor</a>.</p></textarea> |
|---|
| 56 | <textarea cols="80" name="editor1" id="editor4" rows="10"><p>This is some <strong>sample text</strong>. You are using <a href="http://www.fckeditor.net/">CKEditor</a>.</p></textarea> |
|---|
| 57 | <textarea cols="80" name="editor1" id="editor5" rows="10"><p>This is some <strong>sample text</strong>. You are using <a href="http://www.fckeditor.net/">CKEditor</a>.</p></textarea> |
|---|
| 58 | <textarea cols="80" name="editor1" id="editor6" rows="10"><p>This is some <strong>sample text</strong>. You are using <a href="http://www.fckeditor.net/">CKEditor</a>.</p></textarea> |
|---|
| 59 | <textarea cols="80" name="editor1" id="editor7" rows="10"><p>This is some <strong>sample text</strong>. You are using <a href="http://www.fckeditor.net/">CKEditor</a>.</p></textarea> |
|---|
| 60 | |
|---|
| 61 | <textarea cols="80" name="editor1" id="editor8" rows="10"><p>This is some <strong>sample text</strong>. You are using <a href="http://www.fckeditor.net/">CKEditor</a>.</p></textarea> |
|---|
| 62 | <textarea cols="80" name="editor1" id="editor9" rows="10"><p>This is some <strong>sample text</strong>. You are using <a href="http://www.fckeditor.net/">CKEditor</a>.</p></textarea> |
|---|
| 63 | <textarea cols="80" name="editor1" id="editor10" rows="10"><p>This is some <strong>sample text</strong>. You are using <a href="http://www.fckeditor.net/">CKEditor</a>.</p></textarea> |
|---|
| 64 | <textarea cols="80" name="editor1" id="editor11" rows="10"><p>This is some <strong>sample text</strong>. You are using <a href="http://www.fckeditor.net/">CKEditor</a>.</p></textarea> |
|---|
| 65 | <textarea cols="80" name="editor1" id="editor12" rows="10"><p>This is some <strong>sample text</strong>. You are using <a href="http://www.fckeditor.net/">CKEditor</a>.</p></textarea> |
|---|
| 66 | <textarea cols="80" name="editor1" id="editor13" rows="10"><p>This is some <strong>sample text</strong>. You are using <a href="http://www.fckeditor.net/">CKEditor</a>.</p></textarea> |
|---|
| 67 | <textarea cols="80" name="editor1" id="editor14" rows="10"><p>This is some <strong>sample text</strong>. You are using <a href="http://www.fckeditor.net/">CKEditor</a>.</p></textarea> |
|---|
| 68 | |
|---|
| 69 | <textarea cols="80" name="editor1" id="editor15" rows="10"><p>This is some <strong>sample text</strong>. You are using <a href="http://www.fckeditor.net/">CKEditor</a>.</p></textarea> |
|---|
| 70 | </div> |
|---|
| 71 | |
|---|
| 72 | </p> |
|---|
| 73 | |
|---|
| 74 | |
|---|
| 75 | </form> |
|---|
| 76 | |
|---|
| 77 | |
|---|
| 78 | </body> |
|---|
| 79 | </html> |
|---|