I have this table and buttons:
\define ips.opp()
<$set name="ips" value={{!!f1}}><$set name="opp" value={{!!f2}}>
<table>
<tr style="font-weight:<<ips>>"><td style="text-align:center"><$button><
$action-setfield $field="side" $value="ips"/><$action-setfield $field="f1"
$value="bold" /><$action-setfield $field="f2" $value="normal" />ips<
/$button></td></tr>
<tr style="font-weight:<<opp>>"><td style="text-align:center"><$button><
$action-setfield $field="side" $value="opp" /><$action-setfield $field="f1"
$value="normal" /><$action-setfield $field="f2" $value="bold" />opp<
/$button></td></tr></table>
<<ips>>,<<opp>>
\end
|<<ips.opp>>|
its basically got 2 buttons "ips" and "opp", and the primary function is to
set a field "side" to either "ips" or "opp", and that works fine.
What I also want to do is have the font on the button go *bold* once its
pressed. The f1 and f2 fields are being set properly, so I don't know why
this won't work (the font just stays normal the whole time).
Any ideas?
thanks,
- Dave
--
You received this message because you are subscribed to the Google Groups
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/578317b7-27f2-4f04-b27f-8c5235b5bee6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.