I have this code that works fine in all browsers, but not in IE6, and I don't know why, can anyone shed some light on this?
$("#handle").toggle( function () { $('#login').animate({ marginTop: '0', }, 1000); $("#handle").addClass('opened'); return false; }, function () { $('#login').animate({ marginTop: '-280', }, 1000); $("#handle").removeClass('opened'); return false; } );
javascript jquery cross-browser internet-explorer-6
sea_1987
source share