Thanks Ade - -
It is a little more complicated - As there could be 5 colors and 8 pages, or
vice versa - and it would need to start the cycle over again. What I
eventualy got to work was:
<cfset ColorRow = 1>
<!-- Get Layer 1 Menu--->
<cfoutput query="qryGetAllMenu">
<li>#qryGetAllMenu.Title# -
<cfloop query="qryGetMenuBG" startrow="#ColorRow#" endrow="#ColorRow#">
- #qryGetMenuBG.MBFile#
</cfloop>
<cfif #ColorRow# EQ #qryGetMenuBG.recordcount#>
<cfset ColorRow = 1>
<cfelse>
<cfset ColorRow = ColorRow+1>
</cfif>
</cfoutput>
And I am using that as my template to make the actual menus work here:
http://cf.bigfatdesigns.com/clients/roto/index.cfm
THANKS!
- Nick
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:15:1733
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/15
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:15
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.15
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54