| 1 | <html> |
|---|
| 2 | <head> |
|---|
| 3 | <title>FCKeditor - Sample</title> |
|---|
| 4 | <script type="text/javascript" src="fckeditor/fckeditor.js"></script> |
|---|
| 5 | |
|---|
| 6 | <script type="text/javascript"> |
|---|
| 7 | |
|---|
| 8 | window.onload = function() |
|---|
| 9 | { |
|---|
| 10 | |
|---|
| 11 | var oFCKeditor; |
|---|
| 12 | oFCKeditor = new FCKeditor( 'test' ) ; |
|---|
| 13 | oFCKeditor.BasePath = "fckeditor/" ; |
|---|
| 14 | oFCKeditor.Width = '600px'; |
|---|
| 15 | oFCKeditor.Height = '200px'; |
|---|
| 16 | oFCKeditor.ReplaceTextarea() ; |
|---|
| 17 | |
|---|
| 18 | } |
|---|
| 19 | </script> |
|---|
| 20 | |
|---|
| 21 | <style type="text/css"> |
|---|
| 22 | #container { |
|---|
| 23 | height: 500px; |
|---|
| 24 | overflow: auto; |
|---|
| 25 | border: green solid 2px; |
|---|
| 26 | } |
|---|
| 27 | |
|---|
| 28 | </style> |
|---|
| 29 | </head> |
|---|
| 30 | <body> |
|---|
| 31 | <div id="container"> |
|---|
| 32 | <br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/> |
|---|
| 33 | <form id="record_form" action="sampleposteddata.php" method="post" target="_blank"> |
|---|
| 34 | <textarea id="test" name="test">my dog has fleas</textarea> |
|---|
| 35 | </form> |
|---|
| 36 | <br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/> |
|---|
| 37 | </div> |
|---|
| 38 | </body> |
|---|
| 39 | </html> |
|---|