미

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 관련 질문은 QA 로 이전됩니다. QA 그누보드4 바로가기 기존 게시물은 열람만 가능합니다.

+
제목 글쓴이 날짜 조회
10-05-23 조회 1,646
10-05-23 조회 1,765
10-05-23 조회 1,597
10-05-23 조회 1,615
10-05-22 조회 1,745
10-05-22 조회 1,639
10-05-22 조회 3,130
10-05-22 조회 1,741
10-05-22 조회 1,499
10-05-22 조회 1,583
10-05-22 조회 1,672
10-05-22 조회 1,676
10-05-22 조회 1,599
10-05-22 조회 2,522
10-05-22 조회 1,698
10-05-21 조회 1,636
10-05-21 조회 1,601
10-05-21 조회 1,749
10-05-21 조회 1,633
10-05-21 조회 1,730