1 | <html> |
---|
2 | <HEAD><TITLE>CK Editor showModalDialog problem</TITLE> |
---|
3 | <META content=IE=7 http-equiv=x-ua-compatible> |
---|
4 | <SCRIPT language=javascript> |
---|
5 | |
---|
6 | |
---|
7 | |
---|
8 | function showEditor() |
---|
9 | { |
---|
10 | var xPopUpUrl="ckeditor_test.html"; |
---|
11 | var aHeight= screen.availHeight-500; |
---|
12 | var aWidth= screen.availWidth-500; |
---|
13 | window.showModalDialog(xPopUpUrl,self,"dialogHeight: " + aHeight + "px; dialogWidth: " + aWidth + "px; center: yes; resizable: no; scroll:auto; status: no;"); |
---|
14 | |
---|
15 | |
---|
16 | } |
---|
17 | |
---|
18 | </SCRIPT> |
---|
19 | </HEAD> |
---|
20 | <BODY><INPUT onclick=showEditor() value=showModalDialog type=button> </BODY> |
---|
21 | </html> |
---|