spacer

Webref WebRef   Sitemap · Experts · Tools · Services · Newsletters · About i.com

home / programming / java / jspmenus current pageTo page 2To page 3To page 4
[next]

A Java-JSP Menu Builder for HierMenus

Developer News
Mandrake Linux Founder Back, Virtually
Amazon: We're a Technology Company
Sun Expands MySQL With Closed Source

By Paulo Caroli and Srimant Misra

This article shows you how to generate the menu content for a hierarchical menu dynamically. WebReference.com sells HierMenus, a DHTML hierarchical menu that provides cross-browser navigation of your Web site through drop down and pop-up menus. This article enables you to extend such a hierarchical menu, adding the capability to work with dynamic content.

In Web applications menus are widely used; for some applications non-static menu content is needed. A menu can have dynamic content for a variety of reasons: a menu that changes each day of the week, a menu with user specific content, or a menu that has its contents coming from a constantly changing data source.

HierMenus is a great JavaScript implementation of hierarchical menus that organizes its DHTML code in separate JavaScript files, one of which is HM_Arrays.js that contains the data for the static menu content. By having the HM_Arrays.js contents generated on the fly, you add more dynamism to your HierMenus behavior.

Following we show you how to get HierMenus to work with JSP for dynamic menu content generation. First, we demonstrate and code a data structure for encapsulating menu contents and then we disclose how you use this data structure for adding the dynamic menu content capability to the HierMenus JavaScript menu.

Requirements:

This article presents a solution based on a JSP platform. The same data structure can be implemented in other languages and the solution adapted to an ASP platform.

You don't need to know the details of HierMenus or need to be an expert in JavaScript in order to make use of the Java/JSP extension of HierMenus described in this article. You do, however, have to know how to execute the basics of HierMenus with default parameters and have a minimal understanding of JSP technologies.


home / programming / java / jspmenus current pageTo page 2To page 3To page 4
[next]

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

Whitepapers and eBooks

Symantec Whitepaper: Converging System and Data Protection for Complete Disaster Recovery
Intel Whitepaper: Comparing Two- and Four-Socket Platforms for Server Virtualization
IBM Solutions Brief: Go Green With IBM System xTM And Intel
HP eBook: Simplifying SQL Server Management
IBM Contest: Are You the Next Superstar? Join the "Search for the XML Superstar" Contest to Find Out
Intel PDF: Quad-Core Impacts More Than the Data Center
Intel PDF: Virtualization Delivers Data Center Efficiency
Go Parallel Article: PDC 2008 in Review
Avaya Article: Communication-Enabled Mashups: Empowering Both Business Owners and IT
Intel Whitepaper: Building a Real-World Model to Assess Virtualization Platforms
PDF: Intel Centrino Duo Processor Technology with Intel Core2 Duo Processor
Microsoft Article: Build and Run Virtual Machines with Hyper-V Server 2008
  Go Parallel Article: Q&A with a TBB Junkie
IBM Whitepaper: Innovative Collaboration to Advance Your Business
Internet.com eBook: Real Life Rails
IBM eBook: The Pros and Cons of Outsourcing
Internet.com eBook: Best Practices for Developing a Web Site
IBM CXO Whitepaper: The 2008 Global CEO Study "The Enterprise of the Future"
Avaya Article: Call Control XML in Action - A CCXML Auto Attendant
IBM CXO Whitepaper: Unlocking the DNA of the Adaptable Workforce--The Global Human Capital Study 2008
Adobe Acrobat Connect Pro: Web Conferencing and eLearning Whitepapers
Symantec Whitepaper: Comprehensive Backup and Recovery of VMware Virtual Infrastructure
MORE WHITEPAPERS, EBOOKS, AND ARTICLES
webref The latest from WebReference.com Browse >
Popular JavaScript Framework Libraries: An Overview - Part 3 · Accessing Your MySQL Database from the Web with PHP · Working with the DOM Stylesheets Collection
Sitemap · Experts · Tools · Services · Email a Colleague · Contact FREE Newsletters 
 The latest from internet.com
Fixing MySQL Replication · Firewall Guide: First Steps to Securing the Enterprise · VoxOx Tames the Tumultuous Communications Tangle

Created: November 13, 2002
Revised: November 13, 2002

URL: http://webreference.com/programming/java/jspmenus/