Menu

#1 Marking items in the list

open
nobody
None
5
2006-01-16
2006-01-16
No

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.

Discussion

  • Nate Hopkins

    Nate Hopkins - 2006-01-16

    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.

     
  • JasonBunting

    JasonBunting - 2006-01-16

    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. :)

     
  • Nate Hopkins

    Nate Hopkins - 2006-01-17

    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.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.