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














          
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 / itemidsuffix

ItemIDSuffix

Description:
The unique suffix to be appended to the id of the menu item.

Value:
null, String, or JavaScript expression that returns a string/null. ItemIDSuffix may contain only letters, numbers, hyphens (-), and underscores (_). Spaces are not allowed.

Applies To:
Menu Items.

Browser Compatibility:
ItemIDSuffix is supported in all browsers.

Comments:
For each menu item created, HierMenus will, by default, create an id consisting of the item's MenuID, the constant _I, and then the menu item number for this menu item (with the first menu item being item number 1). So, the first item in the menu with the MenuID hm_products would have the id hm_products_I1.

For the great majority of implementations, this numbering scheme will be fine. If not, you can use ItemIDSuffix to create your own unique id for the menu item. When ItemIDSuffix is set to an actual value other than null, it is appended to the MenuID of the item instead of the standard _In string. So, given this item configuration:

MenuID:"hm_products",
ItemIDSuffix:"_prodItem1",
the resulting id for the menu item would be hm_products_prodItem1.

All IDs on a web page--including those defined outside of HierMenus--must be unique. Take care, therefore, in the creation of your ItemIDSuffix strings. See the MenuID reference entry for further information.

ItemIDSuffix is case sensitive.

Examples:
// Ok:
ItemIDSuffix:"_prodItem1",
ItemIDSuffix:window.hmSuffix+"Item1",
   // concatenate the user defined variable hmSuffix
   // with "Item1" to arrive at the ItemIDSuffix

// Incorrect:
ItemIDSuffix:_prodItem1,       // quotes required
ItemIDSuffix:"TopTen%",        // % not allowed
ItemIDSuffix:"Item 1",         // spaces not allowed
ItemIDSuffix:'window.hmSuffix+"Item1"',
   // no quoted expressions
Default:
null

See Also:
MenuID



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
Intel PDF: Virtualization Delivers Data Center Efficiency
Intel eBook: Managing the Evolving Data Center
Microsoft Article: BitLocker Brings Encryption to Windows Server 2008
Symantec eBook: The Guide to E-Mail Archiving and Management
Microsoft Article: RODCs Transform Branch Office Security
Go Parallel Article: James Reinders on the Intel Parallel Studio Beta Program
Avaya Article: Advancing the State of the Art in Customer Service
Adobe Acrobat Connect Pro: Web Conferencing and eLearning Whitepapers
Avaya Article: Avaya AE Services Provide Rapid Telephony Integration with Facebook
Go Parallel Article: Getting Started with TBB on Windows
HP eBook: Storage Networking , Part 1
MORE WHITEPAPERS, EBOOKS, AND ARTICLES
Webcasts
Intel Seminar: Efficiencies in Hardware/Software Virtualization
HP Webcast: Disaster Recovery Planning
Go Parallel Video: Performance and Threading Tools for Game Developers
HP Video: StorageWorks EVA4400 and Oracle
HP Webcast: Storage Is Changing Fast - Be Ready or Be Left Behind
MORE WEBCASTS, PODCASTS, AND VIDEOS
Downloads and eKits
IBM TCO eKIT: Your IT Budget is Under Attack, Get in Control
IBM Energy Efficiency eKIT: Learn How to Reduce Costs
30-Day Trial: SPAMfighter Exchange Module
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
Microsoft Article: Silverlight Streaming--Free Video Hosting for All
Featured Algorithm: Intel Threading Building Blocks - parallel_reduce
HP Demo: StorageWorks EVA4400
MORE TUTORIALS, DEMOS AND STEP-BY-STEP GUIDES
Created: 3/25/2004
Updated: 3/25/2004
URL: http://www.hiermenuscentral.com/documentation/reference/itemidsuffix.html