Hi,
My extension, a news aggregator, uses trees (actually, everything under
one folder in the bookmarks) to store the subscriptions of the user.
I currently style the rows in the trees like so:
treechildren::-moz-tree-cell-text(rss, hxnew) {
font-weight: bold !important;
}
treechildren::-moz-tree-cell-text(rss, hxold) {
font-weight: normal !important;
}
Thus, if the description field of the bookmark (i.e. row in the tree)
contains the word 'hxnew', it is shown as bold. If it has the term
'hxold', it shows the row as normal (unbolded).
I would also like to extend this to be able to bold or unbold the parent
of this tree row. I.e., if one of the rows inside a tree folder contains
the word 'hxnew', I want the parent folder to be bolded. How do I style
my tree to do this?
Thanks.
Thaths
--
"Bart! With $10,000 we'd be millionaires! We could buy all kinds of
useful things... like love." -- Homer J. Simpson
Slacker Without Borders http://openscroll.org/
Key fingerprint = 8A 84 2E 67 10 9A 64 03 24 38 B6 AB 1B 6E 8C E4
_______________________________________________
Project_owners mailing list
[email protected]
http://mozdev.org/mailman/listinfo/project_owners