Improve company productivity with a Business Account.Sign Up

x
?
Solved

Dynamic popup menu

Posted on 2006-11-27
3
Medium Priority
?
248 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 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

Easily Design & Build Your Next Website

Squarespace’s all-in-one platform gives you everything you need to express yourself creatively online, whether it is with a domain, website, or online store. Get started with your free trial today, and when ready, take 10% off your first purchase with offer code 'EXPERTS'.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Strategic internal linking is often considered an SEO power technique, especially for content marketing. Do you need to hire an SEO agency to optimize you internal linking? No, this article will help you understand the basics of internal linking and…
Why WooCommerce is one of the majorly favored choices when it comes to having an eCommerce store. This article will acquaint you with some reasons that I believe make it one of the best eCommerce platforms available.
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
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.

607 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