From c93255d42047cb219a5ee3bb45852b714dbcd105 Mon Sep 17 00:00:00 2001 From: zero Date: Mon, 10 Dec 2007 06:20:34 +0000 Subject: [PATCH] git-svn-id: http://xe-core.googlecode.com/svn/sandbox@3286 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- modules/blog/tpl/css/blog.css | 4 ++-- modules/blog/tpl/js/blog_admin.js | 9 ++++++++- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/modules/blog/tpl/css/blog.css b/modules/blog/tpl/css/blog.css index a41b4da5c..613a74b4a 100644 --- a/modules/blog/tpl/css/blog.css +++ b/modules/blog/tpl/css/blog.css @@ -6,6 +6,6 @@ body { margin:10px; } .menuListZone td { vertical-align:top; } .menuListZone td.category_zone { padding-right:10px; } -#category_list { padding:.5em 0 .5em 0; margin-bottom:2em; width:250px; overflow:hidden; float:left; } -#category_info { margin-left:10px; width:560px; _width:540px; float:left; } +#category_list { padding:.5em 0 .5em 0; margin-bottom:2em; width:250px; overflow:hidden; float:left; position:absolute; left:10px;} +#category_info { margin-left:10px; width:560px; _width:540px; float:left; position:absolute; right:10px;} *:first-child+html #category_info { width:550px; } diff --git a/modules/blog/tpl/js/blog_admin.js b/modules/blog/tpl/js/blog_admin.js index f747de88b..5bca5e37e 100644 --- a/modules/blog/tpl/js/blog_admin.js +++ b/modules/blog/tpl/js/blog_admin.js @@ -172,7 +172,12 @@ function hideCategoryInfo() { function completeGetCategoryTplInfo(ret_obj, response_tags) { var obj = xGetElementById('category_info'); - obj.style.marginTop = xScrollTop()+'px'; + if(xScrollTop()>200) { + obj.style.marginTop = ( xScrollTop() - 210 )+'px'; + } else { + obj.style.marginTop = '0px'; + } + var tpl = ret_obj['tpl']; xInnerHtml(obj, tpl); obj.style.display = 'block'; @@ -180,6 +185,7 @@ function completeGetCategoryTplInfo(ret_obj, response_tags) { var fo_obj = xGetElementById("fo_category"); fo_obj.category_title.focus(); + /* var x = _xPos + 50; var y = _yPos - xHeight(obj)/2+ xScrollTop(); xLeft(obj, x); @@ -191,6 +197,7 @@ function completeGetCategoryTplInfo(ret_obj, response_tags) { } if(typeof('fixAdminLayoutFooter')=="function") fixAdminLayoutFooter(); + */ } /* 카테고리 아이템 입력후 */