Hi all,
I'm loading the content of a 3-level dropdown list through a database (same project as my other questions-- clearly i'm just learning the language, sorry). i want the top level to be like a tab menu, with a border around the space below it where the rest of the lists come down. But check my code:
<ul id="catsMenu">
<cfloop query="getCats">
<li><h2><span><cfoutput>#getCats.group_name#</cfoutput></span></h2>
<ul>
<cfloop query="getMain">
<li><cfoutput>#getMain.section_name#</cfoutput>
<ul>
<cfloop query="getDetail">
<li><a href="somelink"</a></li>
</cfloop>
</ul>
</li>
</cfloop>
</ul>
</li>
</cfloop>
</ul>
(i need the getdetail query to know the link its going to)
I can't quite figure out how I would create the box around the whole section below it, then. Should I absolutely position the div, before or after this list code? Not really sure how to go about doing this. Thanks in advance for your help.
EDIT: This is what I'm looking for:
---------------------------------
| Tab 1 | Tab 2 | Tab 3 | etc.. |
---------------------------------
-----DIV W/ BORDER---------------
| /* dropdown stuff |
| goes inside here */ |
| |
| |
| |
-------DIV W/ BORDER------------