AW: [Zope] Calling colorz with variables

Harald Winkelmann winkelmann@fh-weingarten.de
Fri, 29 Nov 2002 14:09:48 +0100


> Harald Winkelmann wrote:
>  > Hi Mr. Colorz,
>  >
>  > I'm just trying to call colorz with variable input.
>  > I want to use the colorscheme with different colors in one 
> dtml-tag.  > What is the syntax.
> 
> Ok ... I understand what you are trying to do, and it is 
> pretty trivial 
> to add a method to the next version that can be called like::
> 
>      <dtml-var "colorz.getcolor('main', 100, 90)">
> 
> Would that suffice?
> 


That's it !

I have a Navigation Document, which should change ist color depending of
the place from which it is called.

When do you colorz again ? :)

Harry