1 | <html xmlns="http://www.w3.org/1999/xhtml"> |
---|
2 | <head> |
---|
3 | <title>Test case for 8131</title> |
---|
4 | <meta content="text/html; charset=utf-8" http-equiv="content-type" /> |
---|
5 | <script type="text/javascript" src="../ckeditor.js"></script> |
---|
6 | <script src="sample.js" type="text/javascript"></script> |
---|
7 | <link href="sample.css" rel="stylesheet" type="text/css" /> |
---|
8 | </head> |
---|
9 | <body> |
---|
10 | <form action="sample_posteddata.php" method="post"> |
---|
11 | <p> |
---|
12 | <label for="editor1"> |
---|
13 | Editor 1:</label> |
---|
14 | <div id="editor1"></div> |
---|
15 | <script type="text/javascript"> |
---|
16 | //<![CDATA[ |
---|
17 | |
---|
18 | var d = document.getElementById('editor1'); |
---|
19 | d.style.height = '0px'; |
---|
20 | var e = CKEDITOR.appendTo( 'editor1' ,{},'<p>This is the content</p>'); |
---|
21 | |
---|
22 | setTimeout(function(){alert('Setting height to 500px'); d.style.height = '500px';},3000); |
---|
23 | |
---|
24 | //]]> |
---|
25 | </script> |
---|
26 | </p> |
---|
27 | <p> |
---|
28 | <input type="submit" value="Submit" /> |
---|
29 | </p> |
---|
30 | </form> |
---|
31 | </body> |
---|
32 | </html> |
---|