트

회원아이디 클릭시 레이어 팝업시 앱솔루트가 안되고 밑으로 내려와버리는데요~~

· 2013-10-21 (월) 21:39:11 · 1729 · 1
20131021_213756.jpg
회원아이디 클릭시 레이어 팝업시 앱솔루트가 안되고 밑으로 내려와버리는데요~~


소스가 이렇게 복잡한지 몰랏네요 헐...

function showLayer()
{
clickAreaCheck = true;
var oSideViewLayer = document.getElementById(this.targetObj);
var oBody = document.body;

if (oSideViewLayer == null) {
oSideViewLayer = document.createElement("DIV");
oSideViewLayer.id = this.targetObj;
oSideViewLayer.style.position = 'absolute';
oBody.appendChild(oSideViewLayer);
}
oSideViewLayer.innerHTML = this.makeNameContextMenus();

if (getAbsoluteTop(this.curObj) + this.curObj.offsetHeight + oSideViewLayer.scrollHeight + 5 > oBody.scrollHeight)
oSideViewLayer.style.top = getAbsoluteTop(this.curObj) - oSideViewLayer.scrollHeight;
else
oSideViewLayer.style.top = getAbsoluteTop(this.curObj) + this.curObj.offsetHeight;

oSideViewLayer.style.left = getAbsoluteLeft(this.curObj) - this.curObj.offsetWidth + 14;

divDisplay(this.targetObj, 'block');

selectBoxHidden(this.targetObj);
}


dtd 선언하니 밑으로 내려와버리는데요 고수님들 도와주실분~~


첨부파일

20131021_213756.jpg (20.3 KB)
0회 2013-10-21 21:39

댓글 1개

실제 사이트를 보여 주시면, 다른 분들이 답변을 하시는데 도움이 됩니다. ^^
댓글을 작성하시려면 로그인이 필요합니다.

그누보드4 관련 질문은 QA 로 이전됩니다. QA 그누보드4 바로가기 기존 게시물은 열람만 가능합니다.

+
제목 글쓴이 날짜 조회
13-10-21 조회 1,431
13-10-21 조회 1,730
13-10-21 조회 3,072
13-10-21 조회 1,241
13-10-21 조회 1,153
13-10-21 조회 1,788
13-10-21 조회 1,086
13-10-21 조회 1,783
13-10-21 조회 1,885
13-10-21 조회 1,300
13-10-21 조회 1,209
13-10-21 조회 2,165
13-10-21 조회 1,475
13-10-21 조회 1,690
13-10-21 조회 1,868
13-10-21 조회 4,641
13-10-21 조회 919
13-10-21 조회 4,824
13-10-21 조회 1,005
13-10-21 조회 1,150