|
|
|
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
|
댓글 3개
사이즈에 대한 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;
}
잘돼네요 ㅠㅠㅠㅠㅠㅠㅠㅠㅠ 존경합니다 ㅠㅠ