creating drop down menu

5 posts by 2 authors in: Forums > CMS Builder
Last Post: July 23, 2014   (RSS)

By claire - July 23, 2014

I think what you want is a dropdown menu of the kind used in headers, instead of a dropdown select.

Check out this link for a simple example using Javascript - http://javascript-array.com/scripts/simple_drop_down_menu/

--------------------

Claire Ryan
interactivetools.com

Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/

By willydoit - July 23, 2014

Hi Claire,

No that isnt what I want, I want the options in the menu to be created dynamically from the table so as new records are added to the table they are automatically added to the menu. The menu labels need to somehow link to the detail page.

I think the procedure required could be closely linked to the list menu that Ross is working on for us for the blogs page but should be simpler as it is all working from one table..

By claire - July 23, 2014

You can use the menu example I linked there as a base and insert a foreach loop that adds every record dynamically. It's really no different to generating the options for a dropdown select.

--------------------

Claire Ryan
interactivetools.com

Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/

By willydoit - July 23, 2014 - edited: July 24, 2014

Hi Claire,

Thanks for that I will have a further look