1 | <html> |
---|
2 | <head> |
---|
3 | <title>FCKeditor - Sample</title> |
---|
4 | <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
---|
5 | |
---|
6 | <script type="text/javascript" src="/fckeditor/fckeditor.js"></script> |
---|
7 | |
---|
8 | </head> |
---|
9 | <body> |
---|
10 | <form action="savedata.php" method="post"> |
---|
11 | <table style="width: 800px; height: 700px;"> |
---|
12 | <tr> |
---|
13 | <td> |
---|
14 | <div style="overflow: auto; height: 100%; width: inherit"> |
---|
15 | <div style="width: inherit; height: 100px;"> |
---|
16 | <div style="height: 300px;"> |
---|
17 | </div> |
---|
18 | <script type="text/javascript"> |
---|
19 | var oFCKeditor = new FCKeditor( 'FCKeditor1' ) ; |
---|
20 | oFCKeditor.BasePath = '/fckeditor/' ; |
---|
21 | oFCKeditor.Height = 300 ; |
---|
22 | oFCKeditor.Value = 'This is some <strong>sample text<\/strong>. You are using <a href="http://www.fckeditor.net/">FCKeditor<\/a>.' ; |
---|
23 | oFCKeditor.Create() ; |
---|
24 | </script> |
---|
25 | <div style="height: 300px;"> |
---|
26 | </div> |
---|
27 | </div> |
---|
28 | </div> |
---|
29 | </td> |
---|
30 | </tr> |
---|
31 | </table> |
---|
32 | <input type="submit" value="Submit"> |
---|
33 | </form> |
---|
34 | </body> |
---|
35 | </html> |
---|