[ic] How to change Tree Explode Spacing?
IC
ic at tvcables.co.uk
Fri Sep 12 19:53:30 UTC 2008
IC wrote:
> Hi Folks,
>
> With IC 5.6.0 standard store using the product_tree component how can I
> change the indent spacing for each layer down the tree, I want to reduce
the
> indent. I've had a look in the tree coretag file but cannot see how the
> level indent spacing is determined?
>
> Rather than this:-
>
> Level 1
> Level 2
>
> I want
>
> Level 1
> Level 2
>
[tree ... spacing=1]...[/tree]
should do the trick (default is 10).
Regards
Racke
-------------------
Thanks for the reply Racke but where would I put that, I am using the built
in product_tree component as below:-
<!-- BEGIN COMPONENT [control component product_tree] -->
<br>
<table width="90%" align="center">
<tr>
<td valign="top" class="categorybar">
[timed-build file=tmp/product_tree minutes=5 force=1 if="[scratch
dhtml_browser]"]
[menu tree-selector="[control tree_selector Products]"
link-class="[control link_class barlink]"
link-style="[control link_style]"
link-class-open="[control link_class_open]"
link-style-open="[control link_style_open font-size:
larger;]"
link-class-closed="[control link_class_closed]"
link-style-closed="[control link_style_closed font-size:
larger;]"
no-image="[control no_image]"
menu-type=tree
js-prefix=product_tree_
timed="[scratch dhtml_browser]"
reparse=0][/menu]
[/timed-build]
[if scratch dhtml_browser][menu open-script=1
js-prefix="product_tree_"/][/if]
__ADL_MENU__
</td>
</tr>
</table>
<br>
<!-- END COMPONENT [control component product_tree] -->
Thanks,
Andy.
More information about the interchange-users
mailing list