Javascript not working in all IE versions.. script with browser detection
<p>For some reason, IE won't execute this script (the 'else' part). I tried almost everything, but I can't manage it working.</p>

<pre><code>$(document).ready(function(){
    if (navigator.appName != "Microsoft Internet Explorer") { 
        $(".f-top").corner("round 10px");   
        $(".s-top").corner("round 10px");
    }
    else {
        $('.f-top').css('background-image', 'url(../images/block-bg.png)');
    }
});
</code></pre>
