Glen Lipka schrieb:
> ("#whatever").css("cursor","pointer")
>
> Or put it in the CSS. whatever{ cursor: pointer }
If there's a certain behavior attached to that element, I'd prefer not
to not put it in CSS, otherwise without JavaScript you don't have the
behavior but still get a pointer cursor, which is irritating for the user.
Maybe the best thing is to attach a certain class while attaching that
behaviour.
.whatever {
cursor: pointer;
}
$('#whatever').addClass('whatever').click(function() {
// do something
});
-- Klaus
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/