Please Note:
HierMenus is protected by copyright laws. Use of the HierMenus code requires a paid licensing agreement.
Click Here to Register

Site Navigation
Bulletins
About
Documentation
FAQ
Samples
Known Issues
Technology Jobs

internet.commerce

Partner With Us
Promotional Pens
Car Donations
Auto Insurance Quote
Compare Prices
Imprinted Promotions
Disney World Tickets
Shop Online
Corporate Awards
Dental Insurance
Memory Upgrades
Get Business Software
Online Education
Desktop Computers
Televisions

          
internet.com

IT
Developer
Internet News
Small Business
Personal Technology
International

Search internet.com
Advertise
Corporate Info
Newsletters
Tech Jobs
E-mail Offers

 
HierMenusCentral Enhance the Functionality of Your Web Site with DHTML HierMenus.
    

home / documentation / reference / menuid

MenuID

Description:
The unique identifier for the menu.

Value:
String, or JavaScript expression that returns a string. MenuID must begin with a letter, and may contain letters, numbers, hyphens (-), and underscores (_). Spaces are not allowed.

Applies To:
Menus and Menu Items.

Browser Compatibility:
MenuID is supported in all browsers.

Comments:
MenuID serves as the unique id for the menu element that is created on the HTML page, as well as the unique id for the menu in HierMenus own internal processing. MenuID must begin with a letter, and may contain letters, numbers, hyphens, and underscores. Spaces are not allowed.

MenuID must be unique not only within your menu sets themselves (each new menu must have a unique MenuID) but within your HTML page as a whole. That is, if you already have an element in your page designated like this:

<img id="fooBar" .... >
then you may have no menus with a MenuID of fooBar. Therefore, we recommend that you use some type of unique prefix for each of your menu ids; such as hm_ to avoid the possibility of encroaching on an id that already exists within your page.

MenuID should be applied as a string, which means the value you supply should always be in quotes. It is a required parameter for every menu and item registered in HM. Without it, the menu and/or menu item will be ignored. In the case of menu items, MenuID is the menu to which this menu item should be added.

MenuID is case sensitive.

Examples:
// Ok:
MenuID:"hm_products",
MenuID:window.hmPrefix+"products",
   // concatenated the user defined variable hmPrefix
   // with "products" to arrive at the MenuID

// Incorrect:
MenuID:hm_products,      // quotes required
MenuID:"10thMenu",       // must begin with a letter
MenuID:"TopTen%",        // % not allowed
MenuID:"Products Menu",  // spaces not allowed
MenuID:'window.hmPrefix+"products"',
   // no quoted expressions
Default:
null

See Also:
ChildID, ItemIDSuffix



JupiterOnlineMedia

internet.comearthweb.comDevx.commediabistro.comGraphics.com

Search:

Jupitermedia Corporation has two divisions: Jupiterimages and JupiterOnlineMedia

Jupitermedia Corporate Info


Legal Notices, Licensing, Reprints, & Permissions, Privacy Policy.

Advertise | Newsletters | Tech Jobs | Shopping | E-mail Offers

Solutions
Whitepapers and eBooks
IBM eBook: Planning a Service Oriented Architecture
IBM eBook: Choosing the Right Architecture--What It Means for You and Your Business
Microsoft Article: Will Hyper-V Make VMware This Decade's Netscape?
Avaya Article: Using Intelligent Presence to Create Smarter Business Applications
Intel Go Parallel Article: Getting Started with TBB on Windows
Microsoft Article: 7.0, Microsoft's Lucky Version?
Avaya Article: How to Feed Data into the Avaya Event Processor
IBM Article: Developing a Software Policy for Your Organization
Microsoft Article: Managing Virtual Machines with Microsoft System Center
Intel Go Parallel Article: Intel Threading Tools and OpenMP
HP eBook: Storage Networking , Part 1
Microsoft Article: Solving Data Center Complexity with Microsoft System Center Configuration Manager 2007
MORE WHITEPAPERS, EBOOKS, AND ARTICLES
Webcasts
HP Video: StorageWorks EVA4400 and Oracle
HP Webcast: Storage Is Changing Fast - Be Ready or Be Left Behind
Microsoft Silverlight Video: Creating Fading Controls with Expression Design and Expression Blend 2
MORE WEBCASTS, PODCASTS, AND VIDEOS
Downloads and eKits
Red Gate Download: SQL Toolbelt and free High-Performance SQL Code eBook
Iron Speed Designer Application Generator
MORE DOWNLOADS, EKITS, AND FREE TRIALS
Tutorials and Demos
Silverlight 2 App and Walkthrough: Leverage Silverlight 2 with SQL Server and XML
IBM Article: Enterprise Search--Do You Know What's Out There?
HP Demo: StorageWorks EVA4400
Microsoft Article: The Progress and Promise of Deep Zoom
Microsoft How-to Article: Get Going with Silverlight and Windows Live
MORE TUTORIALS, DEMOS AND STEP-BY-STEP GUIDES
Created: 3/25/2004
Updated: 3/25/2004
URL: http://www.hiermenuscentral.com/documentation/reference/menuid.html