본문
<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 + 110; // 위쪽 위치
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)+100; //중심으로 부터의 수평거리
qLayer.style.left = 980; //왼쪽으로 부터의 수평거리
setTimeout ("CheckUIElements()", timeoutNextCheck);
}
function MovePosition() {
var wndWidth = parseInt(document.body.clientWidth);
// 페에지 로딩시 포지션
qLayer.style.top = 115;
//qLayer.style.left = (document.body.clientWidth/2)+100; //중심으로 부터의 수평거리
qLayer.style.left = 920; //왼쪽으로 부터의 수평거리
qLayer.style.visibility = "visible";
// initializing UI update timer
CheckUIElements();
return true;
}
</script>
<!---- 레이어디자인부분 ------>
<!--<div style="position:absolute;top:115px;left:expression( (document.body.clientWidth/2)+100);z-index:1;" id="qLayer" name="qLayer"> -->
<div style="position:absolute;top:115px;left:920;z-index:1;" id="qLayer" name="qLayer">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<th scope="col"><table width='94' border='0' cellspacing='0' cellpadding='0'>
<tr><td width='94' height='5' align='center'></td></tr>
<tr><td align='center'><embed width='94' height='231' Src='../img/quick_01.swf' WMode='Transparent'></embed></td></tr>
<tr><td width='94' height='9' align='center'><a href='#g4_head' title="맨위로"><IMG SRC='../img/top.gif' name='Image60' BORDER=0 width='30' height='9'></a></td></tr>
</table></th>
</tr>
</table>
</div>
<map name="Mapquick" id="Mapquick">
<area shape="rect" coords="4,69,62,88" href="/bbs/board.php?bo_table=qna01" />
<area shape="rect" coords="4,90,61,107" href="/bbs/board.php?bo_table=product01&wr_id=1" />
<area shape="rect" coords="3,109,61,125" href="/bbs/board.php?bo_table=com_map&wr_id=1" />
<area shape="rect" coords="3,128,60,146" href="#" />
</map>
<script language='JavaScript'>MovePosition();</script>
댓글목록
등록된 댓글이 없습니다.