You should copy the example into your tiddler and not the "abstract" macro
descripton
the description
<<tableHighlight [class tag]>>
^^^^^^
[value in braces means it is an optional parameter. if you use this it
doesn't work]
So the first parameter defines the class to be used. and the second define
the html tag
tag: tr .... row
the example
<<tableHighlight "myClass" "tr">>
In the StyleSheet tiddler add:
.myClass {
background-color: lightgray;
}
Copy this to your test tiddler. I have no idea, what the macro should be
good for.
| asdf s|s sad fsd fs|h
| asdf s|s sad fsd fs|
| asdf s|s sad fsd fs|
| asdf s|s sad fsd fs|f
<<tableHighlight myClass tr>>
Have a look with the dev tools, to see what's going on. You will see there
are .oddRow and .evenRwo definitions which allow you to tweak the table.
eg: just an example to add to the StyleSheet tiddler.
.oddRow {
background: yellow;
}
I think I did create a video already, that shows how to use the stuff. The
video is for TW5 but the mechanism is the same for TWc.
https://groups.google.com/d/msg/tiddlywiki/fQQfHFIhJn8/_5995zLC_i8J
-mario
--
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.