묻고답하기
page_full_width" class="col-xs-12" |cond="$__Context->page_full_width">
폰트 바꾸기에서 아주 간단한듯한 버그...
2005.04.30 16:34
<!--헤더시작-->
<!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" xml:lang="ko" lang="ko">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=euc-kr" />
<title></title>
<link rel="stylesheet" href="http://hoyajigi.netcci.net/style.css">
<body>
<div id="ll" class="rightmenu" onMousedown=jericho_layer_face('hidden')>
<p align="right">
<a href="javascript:FontCase('굴림');"><font face="굴림">굴림</font></a><br />
<a href="javascript:FontCase('바탕');"><font face="바탕">바탕</font></a><br />
<a href="javascript:FontCase('돋움');"><font face="돋움">돋움</font></a><br />
<a href="javascript:FontCase('궁서');"><font face="궁서">궁서</font></a><br />
<a href="javascript:FontCase('Arial');"><font face="Arial">Arial</font></a><br />
<a href="javascript:FontCase('Tahoma');"><font face="Tahoma">Tahoma</font></a><br />
<a href="javascript:FontCase('Verdana');"><font face="Verdana">Verdana</font></a><br />
<a href="javascript:jericho_layer_face('hidden');">메뉴감추기</a><br />
</p>
</div>
<a href="javascript:jericho_layer_face();">폰트목록</a><br />
<script language="JavaScript1.2">
<!--
function jericho_layer_face()
{
var obj=document.all[ll];
var _tmpx,_tmpy, marginx, marginy;
_tmpx = event.clientX + parseInt(obj.offsetWidth);
_tmpy = event.clientY + parseInt(obj.offsetHeight);
marginx = document.body.clientWidth - _tmpx;
marginy = document.body.clientHeight - _tmpy ;
if(_marginx < 0)
_tmpx = event.clientX + document.body.scrollLeft + _marginx ;
else
_tmpx = event.clientX + document.body.scrollLeft ;
if(_marginy < 0)
_tmpy = event.clientY + document.body.scrollTop + _marginy +20;
else
_tmpy = event.clientY + document.body.scrollTop ;
obj.style.posLeft=_tmpx-13;
obj.style.posTop=_tmpy-12;
ll.style.visibility='visible';
}
-->
</script>
</body>
</html>
<!--풋터끝-->
_tmpx = event.clientX + parseInt(obj.offsetWidth);
여기에
오브젝트 리쿠아어드 에러가 나네요
아무런 문제가 없는거 같은데 말이요
<!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" xml:lang="ko" lang="ko">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=euc-kr" />
<title></title>
<link rel="stylesheet" href="http://hoyajigi.netcci.net/style.css">
<body>
<div id="ll" class="rightmenu" onMousedown=jericho_layer_face('hidden')>
<p align="right">
<a href="javascript:FontCase('굴림');"><font face="굴림">굴림</font></a><br />
<a href="javascript:FontCase('바탕');"><font face="바탕">바탕</font></a><br />
<a href="javascript:FontCase('돋움');"><font face="돋움">돋움</font></a><br />
<a href="javascript:FontCase('궁서');"><font face="궁서">궁서</font></a><br />
<a href="javascript:FontCase('Arial');"><font face="Arial">Arial</font></a><br />
<a href="javascript:FontCase('Tahoma');"><font face="Tahoma">Tahoma</font></a><br />
<a href="javascript:FontCase('Verdana');"><font face="Verdana">Verdana</font></a><br />
<a href="javascript:jericho_layer_face('hidden');">메뉴감추기</a><br />
</p>
</div>
<a href="javascript:jericho_layer_face();">폰트목록</a><br />
<script language="JavaScript1.2">
<!--
function jericho_layer_face()
{
var obj=document.all[ll];
var _tmpx,_tmpy, marginx, marginy;
_tmpx = event.clientX + parseInt(obj.offsetWidth);
_tmpy = event.clientY + parseInt(obj.offsetHeight);
marginx = document.body.clientWidth - _tmpx;
marginy = document.body.clientHeight - _tmpy ;
if(_marginx < 0)
_tmpx = event.clientX + document.body.scrollLeft + _marginx ;
else
_tmpx = event.clientX + document.body.scrollLeft ;
if(_marginy < 0)
_tmpy = event.clientY + document.body.scrollTop + _marginy +20;
else
_tmpy = event.clientY + document.body.scrollTop ;
obj.style.posLeft=_tmpx-13;
obj.style.posTop=_tmpy-12;
ll.style.visibility='visible';
}
-->
</script>
</body>
</html>
<!--풋터끝-->
_tmpx = event.clientX + parseInt(obj.offsetWidth);
여기에
오브젝트 리쿠아어드 에러가 나네요
아무런 문제가 없는거 같은데 말이요