git-svn-id: http://xe-core.googlecode.com/svn/trunk@1756 201d5d3c-b55e-5fd7-737f-ddc643e51545

This commit is contained in:
zero 2007-06-25 06:23:40 +00:00
parent dd18ad335f
commit f4626edf09
72 changed files with 1049 additions and 795 deletions

View file

@ -10,3 +10,16 @@ function doDeleteShortCut(selected_module) {
fo_obj.selected_module.value = selected_module;
procFilter(fo_obj, delete_shortcut);
}
// footer를 화면 크기에 맞춰 설정
xAddEventListener(window, 'load', fixAdminLayoutFooter);
xAddEventListener(window, 'resize', fixAdminLayoutFooter);
function fixAdminLayoutFooter() {
var headerHeight = xHeight(xGetElementById('header'));
var bodyHeight = xHeight(xGetElementById('cBody'));
var footerHeight = xHeight(xGetElementById('footer'));
var clientHeight = xClientHeight();
var newHeight = clientHeight - footerHeight - headerHeight + 71 + 38;
if(newHeight<bodyHeight) newHeight = bodyHeight;
xHeight(xGetElementById('cBody'), newHeight);
}