Solved

Dynamic popup menu

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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Read about why website design really matters in today's demanding market.
Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
Any person in technology especially those working for big companies should at least know about the basics of web accessibility. Believe it or not there are even laws in place that require businesses to provide such means for the disabled and aging p…

773 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