Welcome Guest, you are in: Login

MUST Creative Engineering Laboratory

RSS RSS

Navigation



Technical Doc



Search the wiki
»

MUST Corp.

MUST Corp.

www.must.or.kr

 Microsoft CERTIFIED Partner Software Development, Web Development, Data Platform

 Microsoft Small Business Specialist

MCSD

Microsoft Certified IT Professional

Microsoft Certified Professional Developer

Class

  • Package: MWSF.dll
  • Defined In : menu.xml
  • Class:   
  • Subclasses:   
  • Extends:  

Config Options

  • In menu.xml

* always (true, 1)
* current (false, 0)
* never

  • You can write "true" or "1"
  • hidden="true" => display="current" , actually not exactly. for main menu hidden="true" => display="never", for side/sub menu hidden="true" => display="current". that's why 'hidden' abandoned. 'cause of not consistent behavior

Public Properties

* display <= global
* display-main
* display-side
* display-sub

  • display : global
  • display-main : Display in main(top) menu
  • display-side : Display in side menu(right or left)
  • display-sub : Display in sub menu (tab menu)

Public Methods

public Methods

Public Events

Public events

Example

menu.xml 선언 예제
<menu name="문화·역사" id="FFCBAA9E-2059-4751-9529-76925F2F491F" url="culture.history">
	<menu name="인물" id="6A24E17D-CA7E-4683-9F99-AB0EC0CD4FC0" url="people" display-side="never" />
	<menu name="전설" id="1DBA75EF-7CFE-4EDA-9A47-F477D48B5BB2" url="legend" display-side="never" />
	<menu name="민속놀이" id="65BFE547-4E52-487A-8D70-FF3B8CD02642" url="traditional.game" display-side="never" />
</menu>

  • This is display-side="never" : not show side menu(right or left menu).



사이드 메뉴에는 보이지 않고 본문내에서 메뉴보이기 예제
		<menu name="전시관 둘러보기" id="55F4D12C-5B17-4AC6-A661-EB9A1790D116" url="map.floor" sid="map.floor">
			<menu name="자연생태전시관 1층" id="0C38D3B7-5DA2-463C-B8F7-C2D72C624DE4" url="1f" display-side="never" sid="common">
				<menu name="① 신재생에너지전시관" id="2985FD54-62E1-48F0-B864-1B37815D8409" url="new.renewable.energy" />
				<menu name="② 정보검색관" id="E9A19FBE-E5FE-4AA8-B094-49517AEFA903" url="information.retrieval" />
				<menu name="③ 영상관" id="4E3914C1-F240-4EE2-AE3A-3B49C8EDCD22" url="image.tube" />
				<menu name="④ 안내홀" id="6FD96176-453F-457D-B2B6-8793E1CA22A8" url="information.hall" />
				<menu name="⑤ 살아있는생물체험관/특별전시실" id="040638CB-8A2E-4B5E-9198-4C6217656219" url="biologica.special.exhibition" />
				<menu name="생태공작실" id="8788738B-1367-4A40-AFAD-BDE24340C1CF" url="ecological.duke" />
			</menu>
			<menu name="자연생태전시관 2층" id="FA8498CB-F838-4ACC-ACE0-22C931B6BD64" url="2f" display-side="never" sid="common">
				<menu name="생명의탄생(1zone)" id="09307BD8-F1AE-4691-B3A5-698F44614694" url="birth.life" />
				<menu name="문경의자연환경(2zone)" id="45C151AA-465E-4763-98F8-EFCEF9B0F364" url="mg.natural.environment" />
				<menu name="나무이야기(3zone)" id="E4F6E69F-B656-4646-AE72-2EAE74FE1DB8" url="wood.story" />
				<menu name="새이야기(3zone)" id="1763FA60-BB27-4827-9603-96A74100CDA6" url="bird.story" />
				<menu name="물고기이야기(3zone)" id="756D4D52-BD3C-4185-80CD-A472D8357570" url="fish.story" />
				<menu name="곤충이야기(3zone)" id="BE000710-4B90-49E9-908A-20B08B05E472" url="insect.story" />
				<menu name="버섯이야기(3zone)" id="8D125476-516F-4274-97A1-5462AE55F66F" url="mushroom.story" />
				<menu name="자연과인간(4zone)" id="C581CDBC-8D11-4671-9B04-AB59A6FD07AD" url="nature" />
				<menu name="생태게임룸" id="1CFD173E-145D-4376-A80A-6538C155E037" url="eco.gameroom" />
				<menu name="기획전시실" id="9D52604D-E3FD-414A-8FE3-D5090F261BE5" url="plan.gallery" />
			</menu>
		</menu>

default.aspx 에 메뉴 보이기 선언

<%=Html.CreateSubMenu(3, new { @class = "sub-menu" }) %>

실행화면 http://ecopark.gbmg.go.kr/open.content/ko/exhibition/map.floor/1f/new.renewable.energy/http://ecopark.gbmg.go.kr/open.content/ko/exhibition/map.floor/1f/new.renewable.energy/

MUST Creative Engineering Laboratory

ImageImage Image Image

Image Image Image Image Image Image Image

Copyright © 2010 MUST Corp. All rights reserved. must@must.or.kr
This Program is released under the GNU General Public License v2. View the GNU General Public License v2 or visit the GNU website.