Hi Brant,

The code I posted was pretty full on for someone coming to grips with building navigation.

Take a look at _primaryNav.cfm in your app's webskin/includes directory. This is the code that generates the menu across the top of the page.

To see what data is returned from getDescendants(), you can pop a <cfdump var="#qNav#"> at the end of the page.

To get more data than the first level under home, change line 8 "depth=1" to a greater number. Then see the difference in the dumped data.

As Gary stated,

 To test the code properly you will need to create several nested navigation
 nodes each with a dmHTML page underneath it.


-Ben http://farcry.daemon.com.au/


Brant Winter wrote:


Cool - I cant seem to get the code workign with the changes that Ben and yourself had added. What I am trying to do here, is get a known good chunk of code and go backwards from there. All I seem to be doing is cheesing things up here !



--- You are currently subscribed to farcry-dev as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED]

MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia
http://www.mxdu.com/ + 24-25 February, 2004

Reply via email to