No, structures by definition and design are unordered.  If order is important 
an array may be a better solution.  I would probably do an array of structures.

<cfset sidenav = arrayNew(1)>
<cfset sidenav[1] = structNew()>
<cfset sidenav[1]["Description"] = "Calendar of Events">
<cfset sidenav[1]["URL"] = RootDir>

<cfset sidenav[2] = structNew()>
<cfset sidenav[2]["Description"] = "Yukon Council">
<cfset sidenav[2]["URL"] = RootDir>

<cfoutput>
<ul>
<cfloop from="1" to="#arrayLen(sideNav)#" index="i">
        <li><a href="#sidenav[i]["URL"]#">#sidenav[1]["Description"]#</a>
</cfloop>
</ul>
</cfoutput>


PS.

You are over pounding your syntax, a very common beginners mistake.

<cfset sidenav["Calendar of Events"] = "#RootDir#">             
Can be simplified to:
<cfset sidenav["Calendar of Events"] = RootDir>         


--------------
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA

---------
| 1 |   |
---------  Binary Soduko
|   |   |
---------
 
"C code. C code run. Run code run. Please!"
- Cynthia Dunning



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:231174
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to