Accordion Menu / Posts /

Populate menu HTML markup dynamically with database data

30
Is there any documentation on using your drop-down accordion menu with a database to populate the menu dynamically?
Bernie  4 years ago   viewed: 12634    

2 Answers

-2

All instructions are on the page http://www.menucool.com/vertical/accordion-menu, and we have no other Users Manual or Documentation.

As there are so many different databases(SQL Server, MySQL, Oracle, ...) and server side languages(PHP, ASP.NET, JSP...), we are unable to provide detailed instructions on how to retrieve data from a database and to build menu HTML markup on the page by a server language. You have to be a developer of that database and that server language.

Milo   4 years ago
-2

Yes, I don't expect you to give me the detailed code itself in, say, ASP for MS SQL Server. But ...

a) Can your vertical drop-down accordion menu work when dynamically populated from a database? Can the number of 1st-level entries in the menu be arbitrary? And can the number of 2nd-level entries be arbitrary, and not necessarily equal, for each 1st-level entry? Or, in other words, does your menu have any implicit constraints on these things that I need to know about (and can't know in advance because there is no documentation)?

b) Would the structure of the (dynamically generated) html/css/javascript code that is needed on the webpage be the natural extension of what you have hardcoded in your example at http://www.menucool.com/vertical/accordion-menu ? Or would some non-obvious tricks be needed? I can write this code if it just needs to be the natural extension of what you have hardcoded in your example, but not otherwise.

Bernie
  4 years ago

   

Your name*
Password
(Optional. Used to modify this post afterwords)
+ =  

Ask your Own Question

  • If your question is related to the topic of this post, you can post your question to this page by clicking the "Post a reply" button at left;

  • When you want to start a new page for your question: