Marking items in the list
Status: Beta
Brought to you by:
natehop
Hey Nate, nice little utility. Glad to see you wrote
it so I don't have to. :P
Anyway, when you mark items in the list, they all look
the same at that point, regardless of whether or not
they were originally styled different because of
either the css being passed in or because of
the 'message type'. I think you should have either a
different way of indicating a marked item (perhaps a
small icon or other visual cue) or change the style so
that it still gives some indication of the type of
message that it is. Also, and I changed my copy of the
code to do this, it would be nice to toggle marked
items. This is relatively easy and I think useful as
well.
Logged In: YES
user_id=998697
Yeah, I was planning on putting the toggle in, but I like
the idea of maintaining an icon or something similar to
denote message type. Thanks for the suggestion.
Logged In: YES
user_id=1301813
This is in response to your followup comment...
What I meant, specifically, is an icon (although this is
hard to do without simply including an image, which breaks
the simplicity of your current implementation, since it is
nice to simply have one file) or something to mark which
ones are 'marked' - this would be instead of highlighting
it because, again, the coloring that is used (either
because of setting the message type to INFO or WARNING or
ERROR, or because of supplying my own CSS style) is lost
when it is highlighted.
I played with a few different things, one was adding a
certain character entity onto the end of the text (•).
I think the solution should be something that can be
implemented without including images, yet something that
maintains the coloring (styles) that are either defined by
your enumeration or supplied by the user via CSS, so that
regardless of whether or not I have clicked on the item
to 'mark' it, it looks the same but somehow differs so that
I know it is marked.
I hope that makes sense and doesn't belabor the point. :)
Logged In: YES
user_id=998697
I've added the ability to toggle messages. I do change the
style; however, when toggled back the style returns. Let me
know what you think.