사이드뷰 DTD 이용시
사이드뷰를 DTD 선언후(XHTML 1.0, XHTML 1.1, HTML 5 등) 이용시 제위치에 안뜨는 문제가 있더군요.
js/sideview.js 파일을 여서서 127 라인의
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;
를 다음과 같이 변경하시면 됩니다
if (getAbsoluteTop(this.curObj) + this.curObj.offsetHeight + oSideViewLayer.scrollHeight + 5 > oBody.scrollHeight)
oSideViewLayer.style.top = getAbsoluteTop(this.curObj) - oSideViewLayer.scrollHeight + "px";
else
oSideViewLayer.style.top = getAbsoluteTop(this.curObj) + this.curObj.offsetHeight + "px";
oSideViewLayer.style.left = getAbsoluteLeft(this.curObj) - this.curObj.offsetWidth + 14 + "px";
댓글 5개
14년 전
감사합니다.
새로운나라
14년 전
이거 말고도 .. 관리자모드도 ... 똑같이 px를 추가해 주는게 좋습니다
aequum
13년 전
adm/admin_head.php의 153,154행도 px 추가요.
menu.style.left = get_left_pos(link) + x + "px" ;
menu.style.top = get_top_pos(link) + link.offsetHeight + y + "px";
menu.style.left = get_left_pos(link) + x + "px" ;
menu.style.top = get_top_pos(link) + link.offsetHeight + y + "px";
13년 전
정말 감사합니다. ㅠ
13년 전
감사드립니다...
게시판 목록
그누4 팁자료실
그누보드4와 관련된 팁을 여러분들과 함께 공유하세요.
나누면 즐거움이 커집니다.
나누면 즐거움이 커집니다.
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 89 |
g6man
|
20년 전 | 6186 | |
| 88 | 20년 전 | 6756 | ||
| 87 |
g6man
|
20년 전 | 4141 | |
| 86 | 20년 전 | 5256 | ||
| 85 | 20년 전 | 6135 | ||
| 84 | 20년 전 | 18355 | ||
| 83 | 20년 전 | 7368 | ||
| 82 | 20년 전 | 7456 | ||
| 81 | 20년 전 | 5364 | ||
| 80 | 20년 전 | 5050 | ||
| 79 |
황제.com
|
20년 전 | 4453 | |
| 78 | 20년 전 | 4044 | ||
| 77 | 20년 전 | 6017 | ||
| 76 |
innoX
|
20년 전 | 6066 | |
| 75 |
아꽈
|
20년 전 | 12601 | |
| 74 | 20년 전 | 3339 | ||
| 73 | 20년 전 | 7177 | ||
| 72 |
rosper
|
20년 전 | 3307 | |
| 71 |
rosper
|
20년 전 | 5247 | |
| 70 | 20년 전 | 3853 |
정보수정란의 이미지 변경 및 회원탈퇴 추가 [31]
아꽈
•
20년 전
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기