Ben - I am currently trying to pull apart that code, but I cannot get it to do anything? Please excuse my ignorance, but I am getting a CF debug screen when I try and preview the page with the code that you published.

Element NAVID is undefined in REQUEST.

The error occurred in C:\Inetpub\applications\hocacms\www\index2.cfm: line 12

10 : <cfscript>
11 : if(not isDefined("attributes.navID")) // allows a navID to be passed in, overiding request.navID
12 : attributes.navID=request.navID;
13 : // Check for Friendly URL
14 : if(application.config.plugins.fu)



I have just stuck the code that you pubished in a .cfm page to see if I can get started with it, do I need to view it with a URL variable ,


?objectid=xxxxxxx

Brant

Ben Bishop wrote:

Hi Brant,


Hi - Just wondering if someone can point me in a direction to start understanding how to build the drop down menus as on the farcry website ( I am looking at the documentation pages at present ). I know that I am going to be using nested lists, generated


There are three parts to building FarCry navigation menus.

i. Getting the data - querying the db for the navigation objects
ii. Building the mark-up - creating valid (x)HTML unordered lists
iii. Styling it - using CSS to style as required

The code I posted on Friday (23/01/04) shows two methods of querying the data - getDescendants and getBloodline - and then builds up nested lists.

The great thing about building up nested lists (beyond the accessibility benefits) is that you can use CSS to style vertical, horizontal or drop-down menus - all using the same HTML.

I'll be using the Suckerfish drop-downs (http://www.alistapart.com/articles/dropdowns/) in the tutorial I'm currently writing up.

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





--- 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