?
Solved

Dynamic popup menu

Posted on 2006-11-27
3
Medium Priority
?
242 Views
Last Modified: 2008-02-26
I checked many links onm dynamic popup menu, however, Im not sure my one need is satisfied by the solutions I see.

I want the dynamic behaviour of the menu items also. I checked some items wherein the menu items data was in a JavaScript Array. However, the menuitems in my case need to come from backend.

Does anyone know any such free implementation?

Regards,
rahulak
0
Comment
Question by:rahulak
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 5

Accepted Solution

by:
summerian earned 2000 total points
ID: 18026029
What do you mean, "the menuitems need to come from backend" ?

I see two solutions - JavaScript array containing menu definitions can be generated dynamically by server side script/servlet, based on some data you have (from the backend?).

Second solution, is to use AJAX to build/rebuild your menu array - if you need even more dynamic menus :). (Personally, I don't think you really need AJAX)

In both cases, you can use those solutions you have already tried. You must only apply some additional server-side or AJAX logic.
0
 
LVL 6

Expert Comment

by:aescnt
ID: 18026176
I'd go with CSS dropdown menus if you're comfortable with using CSS positioning. No JS needed, and if your backend can generate HTML, it'll be no problem.

www.alistapart.com/articles/horizdropdowns
www.alistapart.com/articles/dropdowns
0
 
LVL 1

Author Comment

by:rahulak
ID: 18066784
Thank you for your help.

summetian, I have started POC in whatever you suggested.

0

Featured Post

Get real performance insights from real users

Key features:
- Total Pages Views and Load times
- Top Pages Viewed and Load Times
- Real Time Site Page Build Performance
- Users’ Browser and Platform Performance
- Geographic User Breakdown
- And more

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Developer portfolios can be a bit of an enigma—how do you present yourself to employers without burying them in lines of code?  A modern portfolio is more than just work samples, it’s also a statement of how you work.
FAQ pages provide a simple way for you to supply and for customers to find answers to the most common questions about your company. Here are six reasons why your company website should have a FAQ page
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).
Suggested Courses

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question