Yes,

I want to use it to make bars that vary with a calculated value.

For example:
Money needed = 200$
Money raised = 120$

Then a red bar could be 100% width, and a green bar (100*120/200)%
width.

Like a sort of progress bar.

-r


On Nov 3, 11:21 am, PMario <[email protected]> wrote:
> Hi,
> Do you have a little use case description?
>
> I am thinking about a little <<tiddler MyTiddler "CSS stuff">> or
> <<tiddler template "CSS" with:"something">> construction. But don't
> know, what you want, to do with it.
>
> -m
>
> On Nov 3, 3:22 am, ekois <[email protected]> wrote:
>
> > Hello,
>
> > I try to use the value of a custom field to change the width of a box.
>
> > Tiddler : data07
> > Field : percentage
> > Value : 33
>
> > So I want a block with Width=33%
>
> > @@display:block;background:grey:width:<script>return
> > store.getValue('data07','percentage');</script>%;FOOD@@
>
> > Is there any way to do this without writing a macro? I prefer to do it
> > inline.
>
> > Thank you for thinking...

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.

Reply via email to