Welcome Guest, Not a member yet? Register   Sign In
Dynamic Two level Menu
#1

[eluser]Paleleaves[/eluser]
Hi,

Anybody having an idea about the table structure suggested for this method.


http://ellislab.com/forums/viewthread/97102/P0/


This is the correct method I'm looking for but not getting the exact output.

I need to create a two level dynamic menu. But I'm fetching the data from two tables. First table is LEVEL ONE menu. Second table, LEVEL TWO menu linked with the first table. Is this structure possible for the above thread suggesting method?

Below is the static code

Code:
<ul> &lt;!-- This is outer portion. No need to add in the loop --&gt;

<li class="current">
    <a href="#ab">menu item</a>
        <ul>
            <li class="current"><a href="#">menu item</a></li>
            <li><a href="#aba">menu item</a></li>
            <li><a href="#abb">menu item</a></li>
            <li><a href="#abc">menu item</a></li>
            <li><a href="#abd">menu item</a></li>
        </ul>

</li>

</ul> &lt;!-- End of uuter portion. No need to add in the loop --&gt;

Thanks




Theme © iAndrew 2016 - Forum software by © MyBB