Couldn't you use toggleClass instead removeClass and addClass?
>> You can modify the presentation of the link by modifying its class
>> instead of aplying CSS rules on the fly.
>> $("#jqtree a").bind("click", function() {
>> $("#jqtree a.someclass").removeClass("someclass");
>> $(this).addClass("someclass");
>> });
HTH.
--
Choan Gálvez
<[EMAIL PROTECTED]>
<http://choangalvez.nom.es/>
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/