mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-26 14:49:56 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@1756 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
dd18ad335f
commit
f4626edf09
72 changed files with 1049 additions and 795 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue