Welcome Guest, Not a member yet? Register   Sign In
Dynamic menu help...
#1

[eluser]jay2003[/eluser]
Hi,

I have created a basic CMS which I am now adapting so instead of a 1 tier menu I want to include a drop down menu.

I have created the backend so my 1st tier menu items are in tblmenu, and their sub items are in tblsubmenu, linked by the ID from tblmenu.

I cant get my head around how I will now display the menu, a menu item is as follows,

Code:
<li><a href="#" class="drop">About us</a>    
      <div class="dropdown_1column">
        
                <div class="col_1">
                <ul class="simple">
                   <li><a href="#">Location</a></li>
                   <li><a href="#">Opening hours</a></li>
                   <li><a href="#">History</a></li>
                </ul>  
                </div>
                
  </div>
    </li>

How do I call the sub menu items (if they exist ... not all menus will have the drop down part).

Thanks in advance.

Jason
#2

[eluser]jay2003[/eluser]
Sorted this now thanks.

Jason




Theme © iAndrew 2016 - Forum software by © MyBB