묻고답하기
page_full_width" class="col-xs-12" |cond="$__Context->page_full_width">
킁....
맞춤법 검사기
2008.01.25 23:58
에디터 컴포넌트에 이걸 추가 못할까요?..
실력이 모잘라서 이상하게 만들어 사용중입니다.;;
test1.html
<script>
var winObject = null;
function popupWindow(){
var settings ='toolbar=0,directories=0,status=no,menubar=0,scrollbars=1,resizable=1,height=600,width=550,left=0,top=0';
winObject = window.open("test2.html", "test2", settings);
}
function submitToWindow(){
winObject.document.all.text1.value = document.all.editor.value;
}
</script>
<textarea name="editor" cols="100" rows="10"></textarea><br />
<input type=button value="맞춤법검사" onClick="popupWindow();">
test2.htmlvar winObject = null;
function popupWindow(){
var settings ='toolbar=0,directories=0,status=no,menubar=0,scrollbars=1,resizable=1,height=600,width=550,left=0,top=0';
winObject = window.open("test2.html", "test2", settings);
}
function submitToWindow(){
winObject.document.all.text1.value = document.all.editor.value;
}
</script>
<textarea name="editor" cols="100" rows="10"></textarea><br />
<input type=button value="맞춤법검사" onClick="popupWindow();">
<script>
function inputdata(){
opener.submitToWindow();
}
</script>
</head>
<body onload="inputdata();start.submit();">
<form name="start" action="http://164.125.36.47/webspell_isapi.dll?check" method="post" target="_self">
<textarea name="text1" rows="10" cols="40"></textarea>
</form>
function inputdata(){
opener.submitToWindow();
}
</script>
</head>
<body onload="inputdata();start.submit();">
<form name="start" action="http://164.125.36.47/webspell_isapi.dll?check" method="post" target="_self">
<textarea name="text1" rows="10" cols="40"></textarea>
</form>
킁....