From 2806d8feed2a5274962bbd881adb3f034a7d4cfb Mon Sep 17 00:00:00 2001 From: zero Date: Sun, 12 Aug 2007 04:37:18 +0000 Subject: [PATCH] =?UTF-8?q?=EC=82=AD=EC=A0=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: http://xe-core.googlecode.com/svn/trunk@2341 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- layouts/sample_layout_js_menu/conf/info.xml | 108 ----------- layouts/sample_layout_js_menu/css/layout.css | 188 ------------------- layouts/sample_layout_js_menu/js/layout.js | 72 ------- layouts/sample_layout_js_menu/layout.html | 83 -------- 4 files changed, 451 deletions(-) delete mode 100644 layouts/sample_layout_js_menu/conf/info.xml delete mode 100644 layouts/sample_layout_js_menu/css/layout.css delete mode 100644 layouts/sample_layout_js_menu/js/layout.js delete mode 100644 layouts/sample_layout_js_menu/layout.html diff --git a/layouts/sample_layout_js_menu/conf/info.xml b/layouts/sample_layout_js_menu/conf/info.xml deleted file mode 100644 index c9c3c27c3..000000000 --- a/layouts/sample_layout_js_menu/conf/info.xml +++ /dev/null @@ -1,108 +0,0 @@ - - - 견본 레이아웃 (JS 메뉴) - 样本布局(JS 菜单) - Sample Layout (Menu in JS) - Diseño predeterminado (menú JS) - レイアウトサンプル(JS) - - 제로 - zero - zero - zero - Zero - - 가장 기본적인 기능으로 이루어진 견본 레이아웃입니다. - main_menu, bottom_menu 2개의 메뉴로 구성되어 있으며 각 메뉴의 출력은 javascript 함수를 이용해서 출력합니다. - 레이아웃을 만들때 편리하지만 자유도가 떨어집니다. - - - 此布局是最基本的功能形成的样本布局。 - 此布局由 main_menu, bottom_menu 两个菜单构成,每个菜单的呼出方式是利用 javascript 函数显示。 - 制作布局的时候方便的同时自由度相对落后。 - - - This is a sample layout consists of the most basic features. - It has two menues each named 'main_menu' and 'bottom_menu', and they are displayed by using Javascript function. - Javascript version is so convenient to create layouts, but reduces the degree of freedom though. - - - Es el diseño predeterminado para funciónes basicos. Tiene 2 menús de main_menu, bottom_menu. La salida de cada menu usa funciónes de javascript. Es facil de manejar diseño, pero falta de libertad. - - - 一番基本的な機能で構成されたレイアウトのサンプルです。「main_menu」と「bottom_menu」2つのメニューで構成されていて、各メニューは「javascript」関数を用いて 出力します。 レイアウトをデザインする際に便利ですが、自由度は制限されます。 - - - - - 컬러셋 - 颜色 - Colorset - collección de colores - カラーセット - 원하시는 컬러셋을 선택해주세요. - 请选择颜色。 - Please select a colorset you want. - Seleccióne la collección de colores. - お好みのカラーセットを選択してください。 - - 적색 - 红色 - Red - Rojo - - red - - - 청색 - 青色 - Blue - Azul - - blue - - - - 상단 제목 - 顶部标题 - Title on the top - Título - 上段タイトル - 레이아웃의 상단에 표시할 제목을 입력하세요. - 请输入布局顶部显示的标题。(网站名称) - Please input a title to be displayed on the top of the layout. - Escribe el título para la pagína de web. - レイアウトの上段に表示するタイトルを入力してください。 - - - 홈 페이지 URL - 网站 URL - Home page URL - URL de pagína de web - ホームページ URL - 로고나 제목을 클릭시에 이동할 홈 페이지 URL을 입력해 주세요. - 点击网站LOGO或标题时要移动的页面URL。 - Please input URL to the page that you want to be loaded when a logo or title is clicked. - Escribe el URL para título. - ロゴまたはタイトルをクリックした際、移動するホームページの URL を入力してください。 - - - - - 주 메뉴 - 主 菜单 - Main menu - menú principal - メインメニュー - 2 - - - 하단 메뉴 - 底部菜单 - Menu on the bottom - sub menú - 下段メニュー - 1 - - - diff --git a/layouts/sample_layout_js_menu/css/layout.css b/layouts/sample_layout_js_menu/css/layout.css deleted file mode 100644 index 909ce6887..000000000 --- a/layouts/sample_layout_js_menu/css/layout.css +++ /dev/null @@ -1,188 +0,0 @@ -@charset "utf-8"; - -body { - margin:0px; - padding:0px; -} - -/** - * 레이아웃 style - **/ - -/** - * 상단 로고 및 메인 1차 메뉴 - **/ -.layout_top { - margin:10px 10px 0px 10px; -} - -/* 상단 로고 부분 */ -.layout_logo A { - font-weight:bold; - font-size:16pt; - color:#888888; - text-decoration:none; -} - -/* 상단 1차 메뉴 */ -.layout_first_menu { - border-bottom:2px solid #DDDDDD; - width:100%; - text-align:right; - padding:3px 0px 3px 0px; -} - -/** - * 좌측 메뉴 및 메인 2차 메뉴, 로그인 위젯 및 기타 - **/ -.layout_left { - width:220px; - float:left; - margin-top:10px; - position:absolute; - left:10px; -} - -/* 좌측 2차 메뉴 */ -.layout_second_menu { -} - -/* 좌측 관리자 메뉴 */ -.layout_admin { - margin-top:10px; - border:3px solid #EEEEEE; - padding:5px; - text-align:center; -} - -.layout_admin A { - color:#AAAAAA; - text-decoration:none; -} - -/* 컨텐츠 */ -.layout_content { - padding:10px 10px 0px 240px; -} - -#content { -} - -/** - * 하단 메뉴 영역 - **/ -.layout_bottom { - clear:both; - margin-top:20px; -} - -/* 하단 메뉴 */ -.layout_bottom_menu { - width:100%; - text-align:center; -} - -/** - * 메뉴 style, main_menu:1~3차, bottom_menu로 구성 - **/ - -/* 1차 메뉴 */ -.first_menu { - background-color:#999999; - padding:3px 10px 3px 10px; - margin-left:5px; -} - -.first_menu A { - font-weight:normal; - color:#FFFFFF; - text-decoration:none; -} - -.first_menu_selected { - background-color:#000000; - padding:3px 10px 3px 10px; - margin-left:5px; -} - -.first_menu_selected A { - color:#FFFFFF; - font-weight:bold; - text-decoration:none; -} - -/* 2차 메뉴 */ -.second_menu { - padding:5px 0px 5px 5px; - background-color:#AAAAAA; - display:block; - border-bottom:1px solid #999999; -} - -.second_menu A { - color:#FFFFFF; - text-decoration:none; - font-weight:normal; -} - -.second_menu_selected { - padding:5px 0px 5px 5px; - background-color:#666666; - display:block; - border-bottom:1px solid #444444; -} - -.second_menu_selected A { - color:#FFFFFF; - font-weight:bold; - text-decoration:none; -} - -/* 3차 메뉴 */ -.third_menu { - padding:5px 0px 5px 20px; - border-bottom:1px solid #EEEEEE; - display:block; -} - -.third_menu A { - color:#000000; - text-decoration:none; -} - -.third_menu_selected { - padding:5px 0px 5px 20px; - border-bottom:1px solid #EEEEEE; - font-weight:bold; - display:block; - background-color:#EFEFEF; -} - -.third_menu_selected A { - color:#000000; - font-weight:bold; - text-decoration:none; -} - -/* 하단 메뉴 */ -.bottom_menu { - margin-right:5px; - font-weight:normal; -} - -.bottom_menu A { - color:#000000; - text-decoration:none; -} - -.bottom_menu_selected { - margin-right:5px; - font-weight:bold; -} - -.bottom_menu_selected A { - color:#000000; - font-weight:bold; - text-decoration:none; -} - diff --git a/layouts/sample_layout_js_menu/js/layout.js b/layouts/sample_layout_js_menu/js/layout.js deleted file mode 100644 index af2acc9c6..000000000 --- a/layouts/sample_layout_js_menu/js/layout.js +++ /dev/null @@ -1,72 +0,0 @@ -/** - * @brief sample_layout 메뉴 출력용 javascript - * @author zero (zero@nzeo.com) - **/ - -/** - * 메뉴를 담을 javascript 변수 - * - * xe_layout_menu 구조 - * - * xe_layout_menu[메뉴명][depth][menu_srl] = Object - * - * Object { - * text : 메뉴 명 - * href : 연결할 주소 - * open_window : [Y|N] 새창으로 띄울 것인지에 대한 값 - * normal_btn : 이미지 버튼 - * hover_btn : 이미지 버튼일 경우 mouseover 일 경우 - * active_btn : 선택되어 있을 경우의 이미지 - * className : normal 상태의 className - * selectedClassName : 선택된 상태의 className - * selected : 선택된 메뉴라면 true, 아니면 false - * } - **/ -var xe_layout_menu = new Array(); - -/** - * @brief sample_layout에서 메뉴를 출력하는 함수 - * menu_name : 레이아웃 설정상의 메뉴 이름 - * depth : 입력된 단계 - * print_child : true로 하면 메뉴 출력중 하위 메뉴가 있을 시 출력 - **/ -function xe_print_menu(menu_name, depth, print_child) { - if(typeof(xe_layout_menu[menu_name])=='undefined' || typeof(xe_layout_menu[menu_name][depth])=='undefined') return; - if(typeof(print_child)=='undefined') print_child = false; - - var menu_list = xe_layout_menu[menu_name][depth]; - var html = ""; - - for(var menu_key in menu_list) { - var menu_obj = menu_list[menu_key]; - if(typeof(menu_obj)=='undefined'||!menu_obj) continue; - - if(!menu_obj.text && !menu_obj.normal_btn) continue; - - var className = menu_obj.className; - if(menu_obj.selected) className = menu_obj.selectedClassName; - - if(!menu_obj.href) menu_obj.href = "#"; - - // 텍스트일 경우 - if(!menu_obj.normal_btn) { - - if(menu_obj.open_window == "Y") html = ""+menu_obj.text+""; - else html = ""+menu_obj.text+""; - - // 이미지 버튼 일 경우 - } else if(menu_obj.normal_btn) { - if(!menu_obj.hover_btn) menu_obj.hover_btn = menu_obj.normal_btn; - if(!menu_obj.active_btn) menu_obj.active_btn = menu_obj.normal_btn; - - if(menu_obj.selected) menu_obj.normal_btn = menu_obj.active_btn; - - if(menu_obj.open_window == "Y") html = "\""+menu_obj.text+"\""; - else html = "\""+menu_obj.text+"\""; - } - - if(html) document.write(html); - - if(print_child && menu_obj.selected && typeof(xe_layout_menu[menu_name][depth+1])!='undefined') xe_print_menu('main_menu', depth+1, true); - } -} diff --git a/layouts/sample_layout_js_menu/layout.html b/layouts/sample_layout_js_menu/layout.html deleted file mode 100644 index b209faee4..000000000 --- a/layouts/sample_layout_js_menu/layout.html +++ /dev/null @@ -1,83 +0,0 @@ - - - - - - - - - - -
- - -
- - - -
- -
- - -
- - - - -
- -
- - - - - -
- - -
-
{$content}
- - -
-
- -
-
- -