급하게 처리 했습니다.
<!doctype html>
<html lang="ko">
<head>
또는
<html>
<head>
상단에 이렇게 해놓고 작업하시는 경우
사이트뷰 위치가 않되서 급하게 처리했습니다
/js/sideview.js 파일안에서
function showLayer()
{
if (oSideViewLayer == null) {
oSideViewLayer = document.createElement("DIV");
oSideViewLayer.id = this.targetObj;
// oSideViewLayer.style.position = 'absolute'; <--- 주석처리
oBody.appendChild(oSideViewLayer);
}
var vleft = getAbsoluteLeft(this.curObj)-this.curObj.offsetWidth+3;
oSideViewLayer.style.cssText = "top:"+getAbsoluteTop(this.curObj)+"px;left:"+vleft+"px;position: absolute;";
/*
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;
*/
............................
............................
}
이렇게 처리 .....
크로스 브라우징으로
Chrome, IE 는 8 이상에서 확인 하였습니다.
<!doctype html>
<html lang="ko">
<head>
또는
<html>
<head>
상단에 이렇게 해놓고 작업하시는 경우
사이트뷰 위치가 않되서 급하게 처리했습니다
/js/sideview.js 파일안에서
function showLayer()
{
if (oSideViewLayer == null) {
oSideViewLayer = document.createElement("DIV");
oSideViewLayer.id = this.targetObj;
// oSideViewLayer.style.position = 'absolute'; <--- 주석처리
oBody.appendChild(oSideViewLayer);
}
var vleft = getAbsoluteLeft(this.curObj)-this.curObj.offsetWidth+3;
oSideViewLayer.style.cssText = "top:"+getAbsoluteTop(this.curObj)+"px;left:"+vleft+"px;position: absolute;";
/*
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;
*/
............................
............................
}
이렇게 처리 .....
크로스 브라우징으로
Chrome, IE 는 8 이상에서 확인 하였습니다.
게시글 목록
| 번호 | 제목 |
|---|---|
| 34021 | |
| 33994 | |
| 33922 | |
| 33895 | |
| 33889 | |
| 33882 | |
| 33868 |
최신글
최신글 함수 개량
11
|
| 33863 | |
| 33859 | |
| 33857 | |
| 33849 | |
| 33842 | |
| 33835 | |
| 33830 | |
| 33828 | |
| 33807 | |
| 33797 | |
| 33796 | |
| 33791 | |
| 33786 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기