IE 이외의 브라우저 geditor 오류



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

댓글 3개

dtd 선언하면 다 뜯어고쳐야 할 것 입니다.

사이즈에 대한 px 등 여러모로 수정 할 곳이 많아요.
수정 전

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;
}
너무 감사합니다 ㅜㅜㅜ

잘돼네요 ㅠㅠㅠㅠㅠㅠㅠㅠㅠ 존경합니다 ㅠㅠ
댓글을 작성하시려면 로그인이 필요합니다. 로그인

그누4 질문답변

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

+
제목 글쓴이 날짜 조회
15년 전 조회 1,568
15년 전 조회 1,514
15년 전 조회 3,700
15년 전 조회 1,614
15년 전 조회 2,043
15년 전 조회 1,715
15년 전 조회 1,515
15년 전 조회 1,497
15년 전 조회 1,561
15년 전 조회 1,674
15년 전 조회 1,507
15년 전 조회 1,526
15년 전 조회 1,660
15년 전 조회 1,549
15년 전 조회 3,031
15년 전 조회 1,653
15년 전 조회 1,421
15년 전 조회 1,496
15년 전 조회 1,583
15년 전 조회 1,579
🐛 버그신고