Thanks to the Farcry Component API interacting with the Farcry tree is a
snap. You can browse the API online at
http://farcry.daemon.com.au/cfcdoc/ 

You'll want to pay special attention to the Tree component especially
the GetDescendants() method. That is a popular one for menus.

<cfscript>
// get child navigation elements
o = createObject("component", #application.packagepath#.farcry.tree");
navFilter=arrayNew(1);
navfilter[1]="status IN (#listQualify(request.mode.lvalidstatus,
"'")#)";
qGetDescendants = o.getDescendants(objectid=request.navid, depth=1,
afilter=navFilter, lColumns='externalLink', dsn=application.dsn);
</cfscript>

~tom

> -----Original Message-----
> From: [EMAIL PROTECTED]
[mailto:bounce-farcry-
> [EMAIL PROTECTED] On Behalf Of Robert Redpath
> Sent: Wednesday, May 26, 2004 12:51 PM
> To: FarCry Developers
> Subject: [farcry-dev] Re: rollover dropdown menus
> 
> So how did you get the TMM menu to interact with the Farcry site tree?
> How did you query the Farcry site tree?
> 
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Chris
> Kent
> Sent: Wednesday, May 26, 2004 3:25 PM
> To: FarCry Developers
> Subject: [farcry-dev] Re: rollover dropdown menus
> 
> 
> Bob,
> 
> I have used the PVII menus with and without Farcry.
> 
> With Farcry it is easy to set up dynamic menus to be pulled from the
> site tree.
> 
> The one you specify MM2 would probably not be a good one to use for
> dynamic menus as it relies on graphic images.
> 
> A PVII one that would be much better would be TMM
> http://www.projectseven.com/viewer/index.asp?demo=tmm - this is a
> multi-level DHTML menu system that degrades very well if JavaScript is
> turned off.
> 
> I have set up TMM on a couple of sites - see
> http://www.haresfoot.herts.sch.uk for an example. The entire menu is
> driven from the Farcry site tree. Site still under development, just
> done most of the styling and calendar now waiting for client to start
> adding content.
> 
> If you want multi-level drop-downs i have used both BrainJar and UDM4,
> www.udm4.com. Others here have used different menu systems.
> 
> hth,
> Chris.
> 
> Robert Redpath wrote:
> > How are folks implementing rollover dropdown menus like?
>
http://www.projectseven.com/products/menusystems/mm2/demo/pages/dbonus.h
tm
> >
> > Are you hard coding any of it or is there a way to have the menus
> dynamically populate?   Are you using straight CSS or DHTM or
JavaScript?
> 
> 
> ---
> You are currently subscribed to farcry-dev as: [EMAIL PROTECTED]
> To unsubscribe send a blank email to leave-farcry-dev-
> [EMAIL PROTECTED]
> 
> MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia
> http://www.mxdu.com/ + 24-25 February, 2004
> 
> ---
> You are currently subscribed to farcry-dev as: [EMAIL PROTECTED]
> To unsubscribe send a blank email to leave-farcry-dev-
> [EMAIL PROTECTED]
> 
> MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia
> http://www.mxdu.com/ + 24-25 February, 2004

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