Pass it a category list that has descending parents
so in this little part of the tree
HTML (ParentID is 0, Self is 1) it would have a categorylist=0,1
IIS (ParentID is 1, Self is 12) it would have a categorylist=0,1,12
Basic Techniques (ParentID is 1, Selft is 13) it would have a
categorylist=0,1,13
Advanced Techniques (ParentID is 1, Selft is 14) it would have a
categorylist=0,1,14
I've got a really old code sample (from over a year ago, using the
maketree.cfm tag that steve had rewritten (originally written by M.Dinowitz)
That I used for an expanding and colapsing sidebar menu that I could send
you, but while I haven't seen Steve's tutorial, I'm going to guess that it
still uses the maketree.cfm file so would still work the same. If not I've
got the old one too.
Fred
----- Original Message -----
From: "Cody Estes" <[EMAIL PROTECTED]>
To: "Fusebox" <[EMAIL PROTECTED]>
Sent: Thursday, May 31, 2001 10:49 AM
Subject: Nested Trees =)
> I'm trying to figure out something regarding the 'Nested Trees' tutorial
on secretagents.com and I hope someone can help me. I followed the
tutorials and have it all working correctly, but I want to do a few other
things with my tree and I can't figure out how. First let me display an
example tree:
>
> HTML
> IIS
> Basic Techniques
> Advanced Techniques
> Style Sheets
> ColdFusion
> Regular Expressions
> Studio
> Server Administration
> Getting Started
> Intermediate Techniques
> Advanced Techniques
> WDDX
> Error Handling
> Nested Trees
> SQL
> Access
> SQL Server 7
>
> Now, here's what I can't figure out how to do:
>
> 1.) How can I display only one branch of the tree? For example: If I
click on 'ColdFusion' it displays only that branch with all the connecting
branches/children underneath it (ending with the branch 'Nested Trees').
>
> 2.) Is there a way to hide certain children but display others? For
example: Say I wanted a person to click on 'ColdFusion' and they could see
the attatched children but they wouldn't be able to see the children
attatched to 'ColdFusion's children ('Advanced Techniques' would be visable
but it's children 'WDDX', 'Error Handling', 'Nested Trees' would not).
>
> Is any of this possible? I've been trying for a while now to figure out
how to make the query only pull the information I want but I just can't seem
to be getting anywhere. Can someone out there who maybe is doing the same
type things help me out? Thanks in adavance for any help!
>
> -Cody-
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists