Here is my code: // Mac FireFox 2 Transparent Background Fix if ($.browser.mozilla && (browser.version < 3.0)) { $(function(){ alert('This is FireFox 2!'); $('body').css('background', 'red'); }); }
I think that .version is blowing up the script. Can someone help me with what I am doing? Lemme know what I missed. Thanks. Dave