mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-16 01:39:58 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@1856 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
6c09f9d253
commit
79ba0e7b74
1 changed files with 4 additions and 1 deletions
|
|
@ -29,7 +29,7 @@ function editorStart(upload_target_srl, resizable, height) {
|
|||
|
||||
// iframe_area를 찾음
|
||||
var iframe_area = xGetElementById("editor_iframe_area_"+upload_target_srl);
|
||||
xHeight(iframe_area, height);
|
||||
xHeight(iframe_area, height+10);
|
||||
xInnerHtml(iframe_area, '<iframe id="editor_iframe_'+upload_target_srl+'" frameBorder="0" style="width:100%;height:'+height+'px;"></iframe>');
|
||||
|
||||
// iframe obj를 찾음
|
||||
|
|
@ -574,7 +574,9 @@ function editorDragStart(evt) {
|
|||
editorDragObj.y = e.pageY;
|
||||
editorDragObj.obj = e.target;
|
||||
editorDragObj.id = id.substr('editor_drag_bar_'.length);
|
||||
|
||||
var iframe_obj = editorGetIFrame(editorDragObj.id);
|
||||
|
||||
editorDragObj.source_height = xHeight(iframe_obj);
|
||||
|
||||
xAddEventListener(document, 'mousemove', editorDragMove, false);
|
||||
|
|
@ -593,6 +595,7 @@ function editorDragMove(evt) {
|
|||
|
||||
var iframe_obj = editorGetIFrame(editorDragObj.id);
|
||||
xHeight(iframe_obj, xHeight(iframe_obj)+h);
|
||||
xHeight(iframe_obj.parentNode, xHeight(iframe_obj)+10);
|
||||
}
|
||||
|
||||
function editorDragStop(evt) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue