mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-09 03:52:15 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@292 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
5b99985858
commit
af50e40164
7 changed files with 38 additions and 45 deletions
|
|
@ -113,24 +113,25 @@ function svc_folder_close(id) {
|
||||||
folder_obj.style.display = "none";
|
folder_obj.style.display = "none";
|
||||||
}
|
}
|
||||||
|
|
||||||
// 팝업의 경우 내용에 맞춰 현 윈도우의 크기를 조절해줌 (모두 잘 되려나..)
|
// 팝업의 경우 내용에 맞춰 현 윈도우의 크기를 조절해줌
|
||||||
|
// 팝업의 내용에 맞게 크기를 늘리는 것은... 쉽게 되지는 않음.. ㅡ.ㅜ
|
||||||
|
// 혹시.. 제대로 된 소스 있으신 분은 헬프미.. ㅠ0ㅠ
|
||||||
function setFixedPopupSize() {
|
function setFixedPopupSize() {
|
||||||
var popup_content = xGetElementById('popup_content');
|
var i=0;
|
||||||
var ruler1 = xGetElementById('resize_ruler_1');
|
while(i<2) {
|
||||||
var ruler2 = xGetElementById('resize_ruler_2');
|
window.scrollTo(03000,03000);
|
||||||
var ruler_box_1 = xGetElementById("ruler_box_1");
|
window.resizeBy(xScrollLeft(), xScrollTop());
|
||||||
var ruler_box_2 = xGetElementById("ruler_box_2");
|
i++;
|
||||||
if(!xIE4Up) {
|
}
|
||||||
var width = xWidth(ruler1);
|
window.scrollTo(0,0);
|
||||||
var height = xHeight(ruler2)+22;
|
|
||||||
} else {
|
|
||||||
var width = xWidth(popup_content)+15;
|
|
||||||
var height = xHeight(popup_content)+50;
|
|
||||||
}
|
|
||||||
|
|
||||||
window.resizeTo(width, height);
|
// IE의 경우 한번더 해줘야 한다. (이게 맞는건지.. ㅡ.ㅜ)
|
||||||
|
if(xIE4Up) {
|
||||||
ruler_box_1.style.visibility = "hidden";
|
var i=0;
|
||||||
ruler_box_2.style.visibility = "hidden";
|
while(i<2) {
|
||||||
popup_content.style.position = "";
|
var height = xHeight(xGetElementById('popup_content'));
|
||||||
|
if(xGetBodyHeight()!=height) window.resizeBy(0, height-xGetBodyHeight());
|
||||||
|
i++;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -158,8 +158,6 @@ function xEvent(evt) // object prototype
|
||||||
this.altKey = e.altKey;
|
this.altKey = e.altKey;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
function xFirstChild(e, t)
|
function xFirstChild(e, t)
|
||||||
{
|
{
|
||||||
var c = e ? e.firstChild : null;
|
var c = e ? e.firstChild : null;
|
||||||
|
|
|
||||||
|
|
@ -1,15 +1,8 @@
|
||||||
<!--%import("css/popup.css")-->
|
<!--%import("css/popup.css")-->
|
||||||
|
|
||||||
<!--#include("./common/tpl/common_header.html")-->
|
<!--#include("./common/tpl/common_header.html")-->
|
||||||
<div style="position:absolute;left:0px;top:0px;" id="popup_content">
|
<div id="popup_content">
|
||||||
{$content}
|
{$content}
|
||||||
|
|
||||||
<div style="position:absolute;left:0px;top:0px;width:100%;height:1px;" id="ruler_box_1">
|
|
||||||
<img src="./images/blank.gif" width="100%" height="1" border="0" alt="for_resize_popup_window" id="resize_ruler_1" />
|
|
||||||
</div>
|
|
||||||
<div style="position:absolute;left:0px;top:0px;height:100%;width:1px;" id="ruler_box_2">
|
|
||||||
<img src="./images/blank.gif" width="1" height="100%" border="0" alt="for_resize_popup_window" id="resize_ruler_2" />
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
|
|
|
||||||
|
|
@ -7,6 +7,8 @@
|
||||||
|
|
||||||
$lang->layout_name = '레이아웃 이름';
|
$lang->layout_name = '레이아웃 이름';
|
||||||
$lang->menu_count = '메뉴의 수';
|
$lang->menu_count = '메뉴의 수';
|
||||||
|
$lang->menu_name = '메뉴명';
|
||||||
|
$lang->menu_mid = '연결모듈';
|
||||||
$lang->menu_management = '메뉴 관리';
|
$lang->menu_management = '메뉴 관리';
|
||||||
$lang->depth = '단계';
|
$lang->depth = '단계';
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -58,6 +58,9 @@
|
||||||
$this->setLayoutPath('./common/tpl/');
|
$this->setLayoutPath('./common/tpl/');
|
||||||
$this->setLayoutFile('popup_layout');
|
$this->setLayoutFile('popup_layout');
|
||||||
|
|
||||||
|
// menu_srl에 해당하는 값을 가져옴
|
||||||
|
|
||||||
|
// 템플릿 지정
|
||||||
$this->setTemplateFile('layout_menu_info');
|
$this->setTemplateFile('layout_menu_info');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,8 @@ function doEditMenuInfo(sel_obj) {
|
||||||
|
|
||||||
var menu_srl = obj.value;
|
var menu_srl = obj.value;
|
||||||
|
|
||||||
var win = window.open("./?module=layout&act=dispLayoutMenuInfo&menu_srl="+menu_srl,"_LayoutMenu","toolbars=no,status=no,resizable=no,width=100,height=100");
|
var url = "./?module=layout&act=dispLayoutMenuInfo&menu_srl="+menu_srl;
|
||||||
|
var win = window.open(url,"_LayoutMenu","toolbars=no,status=no,resizable=no,width=10,height=10");
|
||||||
win.focus();
|
win.focus();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -116,7 +117,7 @@ function doEditMenu(cmd, menu_id, max_depth) {
|
||||||
function getDepth(obj) {
|
function getDepth(obj) {
|
||||||
var pl = obj.style.paddingLeft;
|
var pl = obj.style.paddingLeft;
|
||||||
if(!pl) return 0;
|
if(!pl) return 0;
|
||||||
var depth = parseInt(pl);
|
var depth = parseInt(pl,10);
|
||||||
return depth/20;
|
return depth/20;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,15 +1,10 @@
|
||||||
afsdlfkjsdfklsadjfsdlakfjsdfkaha<br />
|
<table border="1" width="400">
|
||||||
afsdlfkjsdfklsadjfsdlakfjsdfkaha<br />
|
<tr>
|
||||||
afsdlfkjsdfklsadjfsdlakfjsdfkaha<br />
|
<th>{$lang->menu_name}</th>
|
||||||
afsdlfkjsdfklsadjfsdlakfjsdfkaha<br />
|
<td>name</td>
|
||||||
afsdlfkjsdfklsadjfsdlakfjsdfkaha<br />
|
</tr>
|
||||||
afsdlfkjsdfklsadjfsdlakfjsdfkaha<br />
|
<tr>
|
||||||
afsdlfkjsdfklsadjfsdlakfjsdfkaha<br />
|
<th>{$lang->menu_mid}</th>
|
||||||
afsdlfkjsdfklsadjfsdlakfjsdfkaha<br />
|
<td>name</td>
|
||||||
afsdlfkjsdfklsadjfsdlakfjsdfkaha<br />
|
</tr>
|
||||||
afsdlfkjsdfklsadjfsdlakfjsdfkaha<br />
|
</table>
|
||||||
afsdlfkjsdfklsadjfsdlakfjsdfkaha<br />
|
|
||||||
afsdlfkjsdfklsadjfsdlakfjsdfkaha<br />
|
|
||||||
afsdlfkjsdfklsadjfsdlakfjsdfkaha<br />
|
|
||||||
afsdlfkjsdfklsadjfsdlakfjsdfkaha<br />
|
|
||||||
111111111111111111111111111111111111111111111111111111a<br />
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue