Klaus,

You're absolutely right, that would be far better.
Instead of 'hidden' for all items not shown, 'selected' would be a better
class for the item currently shown.

Rob.

On 3/29/07, Klaus Hartl <[EMAIL PROTECTED]> wrote:

Rob Desbois schrieb:
> How about a class 'hideable' to style all of the rows hidden or not, and
> a class 'hidden' which does the actual hiding?

I think "hideable" is still a purely presentational class name. Let's
imagine this is going to be changed and the hideables are supposed to be
shown all time. You would have to change the class name to have that
still make sense (think of co-workers and others reading your code), but
with a class name of "additional", "description" etc. it doesn't matter
if the element gets shown, gets hidden, or it maybe gets only hidden in
print and handheld media types...

That said, your're better off with a class name that adds a little
semantic to the element and describes the purpose of the element in
question.



-- Klaus

_______________________________________________
jQuery mailing list
[EMAIL PROTECTED]
http://jquery.com/discuss/56




--
Rob Desbois
Eml: [EMAIL PROTECTED]
Tel: 01452 760631
Mob: 07946 705987
"There's a whale there's a whale there's a whale fish" he cried, and the
whale was in full view.
...Then ooh welcome. Ahhh. Ooh mug welcome.
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

Reply via email to