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>&nbsp;</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

Reply via email to