#19294675 클릭하는 위치를 기준으로 파일 첨부창 표시

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@8101 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
taggon 2011-02-16 09:07:25 +00:00
parent 3275666fbf
commit 2b1a752947
2 changed files with 6 additions and 4 deletions

View file

@ -2373,9 +2373,11 @@ FileUpload = xe.createPlugin('FileUpload', {
this.updateFileSize();
},
API_SHOW_FILE_MODAL : function() {
var self = this, uploader, file_group = [], $form, params, seq;
var self = this, uploader, file_group = [], $form, params, seq, offset_top;
offset_top = this.$btn.offset().top;
this.$modal_box.show();
this.$modal_box.css('top', offset_top+13).show();
this.$attach_list.show();
// register ESC hotkey

View file

@ -305,7 +305,7 @@
.xd .edit .xdcs{position:relative;overflow:hidden !important;padding:10px;cursor:text;outline:none}
.xd .edit .xdsc{border:0;padding:20px 25px;overflow:auto;background:transparent;font:12px "Courier New", Courier, monospace}
/* XD Layer Window */
.xdlw{display:none;position:absolute;top:0;left:0;z-index:1000;color:#000;overflow:visible;width:100%;height:100%}
.xdlw{display:none;position:absolute;top:0;left:0;z-index:1000;color:#000;overflow:visible;width:100%;height:1px}
.xdlw img{border:0}
.xdlw .iHead{background-position:0 -1140px;background-repeat:repeat-x;border-bottom:1px solid #ccc;font-size:12px;padding:10px 0;*zoom:1;cursor:move;overflow:hidden}
.xdlw .iHead:after{content:"";display:block;clear:both}
@ -323,7 +323,7 @@
.xdlw .iFoot .btnArea.fl{float:left}
.xdlw .iFoot .btnArea.fr{float:right}
/* XD Layer Window - AL(Attached List) */
.xdal{display:none;width:780px;margin:100px auto 0 auto;background:#fff;border:3px solid #666;box-shadow:0 0 10px #999;-moz-box-shadow:0 0 10px #999;-webkit-box-shadow:0 0 10px #999}
.xdal{display:none;width:780px;margin:0 auto;background:#fff;border:3px solid #666;box-shadow:0 0 10px #999;-moz-box-shadow:0 0 10px #999;-webkit-box-shadow:0 0 10px #999}
.xdal .iFoot .info{margin:0;float:left;font-size:11px;line-height:normal;padding:0 0 0 20px;color:#666}
.xdal .label{line-height:30px;font-weight:bold;margin:0;padding:0 0 0 24px;font-size:12px}
.xdal .img .label{background-position:0 -280px}