IE 이외의 브라우저 geditor 오류 > 그누4 질문답변

그누4 질문답변

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

IE 이외의 브라우저 geditor 오류 정보

IE 이외의 브라우저 geditor 오류

본문



ie 이외의 브라우저에서 geditor 아이콘을 클릭하면 나타나는 레이어가
저 끝까지 내려가있네요 ㅠㅠ
도움요청해봅니다 ㅜ
  • 복사

댓글 전체

수정 전

this.get_option_div = function(obj, left) {

    if (IS_IE) height = -1; else height = 5;

    if (typeof left == 'undefined') left = 0;

    var div = document.createElement("div");
    div.style.border = "#CCCCCC 1px solid";
    div.style.padding = "10px";
    div.style.display = "block";
    div.style.position = "absolute";
    div.style.zIndex = 1;
    div.style.backgroundColor = "#FFFFFF";
    div.style.top = this.get_top(obj) + obj.offsetHeight + height;
    div.style.left = this.get_left(obj) - left;
    div.style.textAlign = "left";
    div.style.fontSize = '12px';
    div.unselectable = "on";
    return div;
}





수정 후

this.get_option_div = function(obj, left) {

    if (IS_IE) height = -1; else height = 5;

    if (typeof left == 'undefined') left = 0;

    var div = document.createElement("div");
    div.style.border = "#CCCCCC 1px solid";
    div.style.padding = "10px";
    div.style.display = "block";
    div.style.position = "absolute";
    div.style.zIndex = 100;
    div.style.backgroundColor = "#FFFFFF";
    div.style.top = this.get_top(obj) + obj.offsetHeight + height +"px";
    div.style.left = this.get_left(obj) - left + "px";
    div.style.textAlign = "left";
    div.style.fontSize = '12px';
    div.unselectable = "on";
    return div;
}
© SIRSOFT
현재 페이지 제일 처음으로