Lach, > When I roll over the departments link. I get all the departments > in the dropdown menu and if fills the page and then some. > > I was wondering if it is possible to limit the number of links > in the dropdowns through farcry. And then have a link that said > "all departments". Which took you to a page that listed all the > departments.
I am assuming you're getting the list using the getDescendants() method. If this is the case you can do several things: 1. use the aFilter attribute to send an array of filters to add to the query's WHERE clause. 2. after done running the getDescendants() method (which returns a query) use a QoQ to make modifications to the query as needed (this approach isn't as efficient, however if you are using caching here it shouldn't be an issue. 3. In your loop (when creating your links) using conditional logic to solve your needs. Ie: if navid eq departments, don't show children (just make the word "departments" a link which brings the user to a "departments" page. 4. I'm sure I could think of a few more if I thought about it long enough :) Personally #1 above has always seemed to address most of my getDescendants() issues. Good luck, --- Jeff Coughlin Web Application Developer http://www.jeffcoughlin.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "farcry-dev" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/farcry-dev -~----------~----~----~----~------~----~------~--~---
