mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-28 15:49:57 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@1816 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
996fc97b7e
commit
c62c515195
8 changed files with 72 additions and 60 deletions
|
|
@ -14,14 +14,14 @@ function doDeleteShortCut(selected_module) {
|
|||
// 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'));
|
||||
function fixAdminLayoutFooter(height) {
|
||||
var headerHeight = xHeight('header');
|
||||
var bodyHeight = xHeight('cBody');
|
||||
var footerHeight = xHeight('footer');
|
||||
var clientHeight = xClientHeight();
|
||||
var newHeight = clientHeight - footerHeight - headerHeight + 71 + 38;
|
||||
if(typeof(editor_height)!='undefined') newHeight += editor_height;
|
||||
|
||||
if(newHeight<bodyHeight) newHeight = bodyHeight;
|
||||
xHeight(xGetElementById('cBody'), newHeight);
|
||||
if(typeof(height)=='number') newHeight += height;
|
||||
xHeight('cBody', newHeight);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue