|
|
|
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
|
댓글 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;
}
잘돼네요 ㅠㅠㅠㅠㅠㅠㅠㅠㅠ 존경합니다 ㅠㅠ