views:

9

answers:

0

I've got the following code which is causing issues in IE6:

$("#social-selector").hover(
    function () {
        $('.selector-list').show();
        $('.selector-button').addClass('on');
    },
    function () {
        $('.selector-button').removeClass('on');
        $('.selector-list').hide();
    }
);

I'd prefer to use jQuery.support.XXX to filter out the issues than ($.browser.msie && $.browser.version) but I'm not sure which property jQuery.support will check for this. (NOTE: the issue seems to be that the div jumps around to different locations on hover and it would be easier to just give them an onclick)