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

This commit is contained in:
zero 2007-06-27 08:04:42 +00:00
parent 60e165189b
commit ca676781d8

View file

@ -0,0 +1,22 @@
function fnStartInit() {
var obj = xGetElementById('loading');
obj.style.visibility = 'hidden';
}
xAddEventListener(window,'load',fnStartInit);
// footer를 화면 크기에 맞춰 설정
xAddEventListener(window, 'load', fixLayoutFooter);
xAddEventListener(window, 'resize', fixLayoutFooter);
function fixLayoutFooter() {
var headerHeight = 145;
var bodyHeight = xHeight(xGetElementById('content_body'));
var footerHeight = 55;
var clientHeight = xClientHeight();
var newHeight = clientHeight - footerHeight - headerHeight;
if(typeof(editor_height)!='undefined') newHeight += editor_height;
if(newHeight<bodyHeight) newHeight = bodyHeight;
xHeight('content_body', newHeight);
xHeight('left_menu_table', newHeight);
}