mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-14 00:39:57 +09:00
위젯 검출 정규 표현식을 수정
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@2892 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
f9896fe51a
commit
90aa62a6ac
993 changed files with 9190 additions and 10457 deletions
|
|
@ -11,6 +11,11 @@ function doDeleteShortCut(selected_module) {
|
|||
procFilter(fo_obj, delete_shortcut);
|
||||
}
|
||||
|
||||
// 캐시파일 모두 재 생성
|
||||
function doRecompileCacheFile() {
|
||||
exec_xml("admin","procAdminRecompileCacheFile");
|
||||
}
|
||||
|
||||
// footer를 화면 크기에 맞춰 설정 (폐기)
|
||||
//xAddEventListener(window, 'load', fixAdminLayoutFooter);
|
||||
//xAddEventListener(window, 'resize', fixAdminLayoutFooter);
|
||||
|
|
@ -18,19 +23,30 @@ function fixAdminLayoutFooter(height) {
|
|||
return;
|
||||
}
|
||||
|
||||
if(xIE6) {
|
||||
xAddEventListener(window,'load',fixAdminNaviHeight);
|
||||
function setMenuContentScale() {
|
||||
var menuHeight = xHeight("adminMenuContent")+70;
|
||||
var bodyHeight = xHeight("adminContentBody");
|
||||
if(bodyHeight>menuHeight) xHeight("adminMenuContent", bodyHeight-70);
|
||||
else if(bodyHeight<menuHeight) xHeight("adminContentBody", menuHeight);
|
||||
}
|
||||
|
||||
function fixAdminNaviHeight() {
|
||||
var naviHeight = xHeight('gNavigation');
|
||||
var bodyHeight = xHeight('content');
|
||||
if(naviHeight<bodyHeight) xHeight('gNavigation',bodyHeight);
|
||||
else xHeight('content',naviHeight);
|
||||
setTimeout(fixAdminNaviHeight, 500);
|
||||
}
|
||||
// 메뉴 여닫기
|
||||
function toggleAdminMenu(id) {
|
||||
var obj = xGetElementById(id);
|
||||
var rh = 0;
|
||||
if(obj.style.display == 'none') {
|
||||
obj.style.display = 'block';
|
||||
rh = xHeight(obj);
|
||||
xHeight("adminMenuContent", xHeight('adminMenuContent')+rh);
|
||||
} else {
|
||||
rh = xHeight(obj);
|
||||
obj.style.display = 'none';
|
||||
xHeight("adminMenuContent", xHeight('adminMenuContent')-rh);
|
||||
}
|
||||
|
||||
// 캐시파일 모두 재 생성
|
||||
function doRecompileCacheFile() {
|
||||
exec_xml("admin","procAdminRecompileCacheFile");
|
||||
var expire = new Date();
|
||||
expire.setTime(expire.getTime()+ (7000 * 24 * 3600000));
|
||||
xSetCookie(id, obj.style.display, expire);
|
||||
|
||||
setMenuContentScale();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue