Uh... THANKS!! I'll implement that now... and the reason I have to use
spaces is that this code is going into a <select> box
----- Original Message -----
From: Cameron <[EMAIL PROTECTED]>
To: CF-Server <[EMAIL PROTECTED]>
Sent: Sunday, May 27, 2001 11:16 PM
Subject: RE: Mymaketree Adaptation
UL has a nice feature in that multiple indetations can be made by nesting
the tags.
Using is a lot harder. Ignoring the fact that the size is dependent
on the font, you need to keep track of what lever depth you are at.
I would consider changing to <breakquote> or something.
The alternative is to track what level you're at.
at the start of your tag add
<cfparam name="request.level" default="0">
<cfset request.level=request.level+1>
then change to
<CFOUTPUT>
<cfloop from=1 to="#Evaluate('parent_id * request.level')#"
index=parent_id> </cfloop> <cfif mode eq 3>(*)</cfif>
#GetCurrentItems.Category_Name#<br>
</CFOUTPUT>
& add at the end
<cfset request.level = request.level -1>
This should add more & more indentation as the levels get deeper. YMMV.
A better way would be to use a transparent gif image & increase the width of
it at each level.
Cameron
----------------------------------------------------------------------------
--
To unsubscribe, send a message to [EMAIL PROTECTED] with
'unsubscribe' in the body or visit the list page at www.houseoffusion.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
------------------------------------------------------------------------------
To unsubscribe, send a message to [EMAIL PROTECTED] with
'unsubscribe' in the body or visit the list page at www.houseoffusion.com