Solved

Dynamic popup menu

Posted on 2006-11-27
3
237 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 500 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Learn by example how to specify CSS selectors for Selenium WebDriver test automation software.
Australian government abolished Visa 457 earlier this April and this article describes how this decision might affect Australian IT scene and IT experts.
Viewers will get an overview of the benefits and risks of using Bitcoin to accept payments. What Bitcoin is: Legality: Risks: Benefits: Which businesses are best suited?: Other things you should know: How to get started:
The viewer will learn how to dynamically set the form action using jQuery.

734 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