[jQuery] Feature Detection Best Practice?

[jQuery] Feature Detection Best Practice?


I ventured into feature detection, and I want to make sure I'm doing
this the "right" way. Basically the fx on the jQuery UI tabs causes
aliasing in IE 6/7 (but not 8). Instead of checking for those browsers
the old way I thought this is the right way.
    if (!$.support.opacity) {
        $(".ui-tabs > ul").tabs();
    }
    else {
        $(".ui-tabs > ul").tabs({
     fx : {
     height: 'toggle',
     opacity: 'toggle'
     }
        });
    }