아래와 같은 코드에서 작동이 안되는 문제입니다. 코드를 어떻게 수정해야 할지 잘 작동이 안됩니다. DOCTYPE 없을 때는 잘 되는데, 넣으면 안되네요.
조언을 부탁드립니다.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="ko" xml:lang="EUC-KR">
<head>
<title>new document</title>
<meta http-equiv="Content-Type" content="text/html; charset=euc-kr" />
<meta http-equiv="cache-control" content="no-cache" />
<meta http-equiv="pragma" content="no-cache" />
</head>
<body>
<script type="text/javascript">
function MoveEditSize(Scroll){
if(Scroll == "wide_out"){
TextEditView.style.pixelWidth += 35;
}else if(Scroll == "wide_in"){
TextEditView.style.pixelWidth -= 35;
}else if(Scroll == "height_out"){
TextEditView.style.pixelHeight += 35;
}else if(Scroll == "height_in"){
TextEditView.style.pixelHeight -= 35;
}else if(Scroll == "fix"){
TextEditView.style.pixelWidth = 600;
TextEditView.style.pixelHeight = 350;
}else{return;}
TextEditor.focus();
}
</script>
<table>
<td>
<button onclick="MoveEditSize('height_out');" class='BtnImg' onmouseover=this.className='ButtonUp' onmouseout=this.className='ButtonOut'>
세로확장</button>
</td>
</table>
<input type='hidden' name='memo'>
<div id='TextEditView' style='width:600px;height:350px;display: inline;word-break:break-all;'><!-- class='editor_area' -->
<iframe id='TextEditor' oncontextmenu="return false;" frameborder="0" marginwidth="5" topmargin="5" marginheight="5" scrolling="auto" STYLE="border:1px solid #a0a0a0;WIDTH: 600px; HEIGHT: 350px;margin-top:1px;"></iframe>
<iframe name="idContentTmp" style="position: absolute; visibility: hidden; z-index: -1;left:1px; top:1px; width:1px; height:1px;" ></iframe>
</div>
</body>
</html>
에디터 세로 확장에서 안되는 문제입니다.
Who is online
Users browsing this forum: No registered users and 4 guests