Sunday, February 19, 2012

z-index problem in IE7

Add the following code,  so menu will be show all over the object.
$(function() {
    var zIndexNumber = 1000;
    $('div').each(function() {
        $(this).css('zIndex', zIndexNumber);
        zIndexNumber -= 10;
    });
    });

From http://www.vancelucas.com/blog/fixing-ie7-z-index-issues-with-jquery/

No comments: