우측 퀵메뉴가 컴퓨터 윈도우에 따라 다른 위치에 있어 질문입니다.

고수님들 알려 주시길 부탁합니다.

우측 퀵메뉴가 컴퓨터 윈도우에 따라 다른 위치에 있고...위 아래로 따라 다니지 않고..뭐가 문제인지 알수가 없어서 도움을 청합니다.

아래 소스는 scroll파일입니다.


<SCRIPT LANGUAGE="JavaScript">
function CheckUIElements() {
var yMenu1From, yMenu1To, yOffset, timeoutNextCheck;
var wndWidth = parseInt(document.body.clientWidth);
yMenu1From = parseInt (qLayer.style.top, 10);
yMenu1To = document.body.scrollTop + 140; // 위쪽 위치
timeoutNextCheck = 500;

if ( yMenu1From != yMenu1To ) {
yOffset = Math.ceil( Math.abs( yMenu1To - yMenu1From ) / 20 );
if ( yMenu1To < yMenu1From )
yOffset = -yOffset;

qLayer.style.top = parseInt (qLayer.style.top, 10) + yOffset;

timeoutNextCheck = 10;
}
qLayer.style.left = (document.body.clientWidth/2)+500; //중심으로 부터의 수평거리

setTimeout ("CheckUIElements()", timeoutNextCheck);
}

function MovePosition() {
var wndWidth = parseInt(document.body.clientWidth);

// 페에지 로딩시 포지션
qLayer.style.top = 170;
qLayer.style.left = (document.body.clientWidth/2)+500; //중심으로 부터의 수평거리
qLayer.style.visibility = "visible";

// initializing UI update timer
CheckUIElements();
return true;
}
</SCRIPT>
<!---- 레이어디자인부분 ------>
<script language="JavaScript">
<!--
function na_open_window(name, url, left, top, width, height, toolbar, menubar, statusbar, scrollbar, resizable)
{
toolbar_str = toolbar ? 'yes' : 'no';

menubar_str = menubar ? 'yes' : 'no';

statusbar_str = statusbar ? 'yes' : 'no';

scrollbar_str = scrollbar ? 'yes' : 'no';

resizable_str = resizable ? 'yes' : 'no';



cookie_str = document.cookie;
cookie_str.toString();


pos_start = cookie_str.indexOf(name);

pos_start = cookie_str.indexOf('=', pos_start);

pos_end = cookie_str.indexOf(';', pos_start);

if (pos_end <= 0) pos_end = cookie_str.length;

cookie_val = cookie_str.substring(pos_start + 1, pos_end);



if (cookie_val == "done")

return;



window.open(url, name, 'left='+left+',top='+top+',width='+width+',height='+height+',toolbar='+toolbar_str+',menubar='+menubar_str+',status='+statusbar_str+',scrollbars='+scrollbar_str+',resizable='+resizable_str);

}

// -->
</script>



<div style="position:absolute;top:170px;left:expression( (document.body.clientWidth/2)+475);z-index:1;" id="qLayer" name="qLayer">
<table width="90" border='0' cellspacing='0' cellpadding='0'>
<tr>
</td>
</tr>
<tr><td width='90' height='5' align='center'></td></tr>
<tr><td align='center'> <script src="http://ggdaelimapt.co.kr/img/quick_01.js">
</script></td></tr>
<tr><td width='72' height='5' align='center'></td></tr>

</table>
</div>
<script language='JavaScript'>MovePosition();</script>
|
댓글을 작성하시려면 로그인이 필요합니다. 로그인

그누5 질답

그누보드5 버전에 대한 질문을 할 수 있습니다.쪽지나 메일로 해결해 주겠다는 답변은 정상적인 답변으로 보기 어려우므로 신고해 주시기 바랍니다.

+
제목 글쓴이 날짜 조회
12년 전 조회 324
12년 전 조회 268
12년 전 조회 284
12년 전 조회 370
12년 전 조회 544
12년 전 조회 439
12년 전 조회 727
12년 전 조회 424
12년 전 조회 410
12년 전 조회 297
12년 전 조회 236
12년 전 조회 1,179
12년 전 조회 862
12년 전 조회 422
12년 전 조회 230
12년 전 조회 669
12년 전 조회 292
12년 전 조회 245
12년 전 조회 253
12년 전 조회 263
🐛 버그신고