1 | <!DOCTYPE html> |
---|
2 | <html xmlns="http://www.w3.org/1999/xhtml"> |
---|
3 | <html> |
---|
4 | <head> |
---|
5 | <title>Replace Textarea by Code — CKEditor Sample</title> |
---|
6 | <meta charset="utf-8"> |
---|
7 | <script src="../ckeditor.js" type="text/javascript"></script> |
---|
8 | <script type="text/javascript"> |
---|
9 | function showEditor() |
---|
10 | { |
---|
11 | var param = "modalDialog2.html"; |
---|
12 | var parm2 = "dialogHeight:400px;dialogWidth:700px;status: no;unadorned: no;scroll: no;help: no;resizable: no;"; |
---|
13 | window.showModalDialog(param,'',parm2); |
---|
14 | return false; |
---|
15 | } |
---|
16 | </script> |
---|
17 | </head> |
---|
18 | <body> |
---|
19 | <input id="button" type="button" onclick="showEditor();" value="button" /> |
---|
20 | </body> |
---|
21 | </html> |
---|