Return to Snippet

Revision: 61325
at December 6, 2012 06:25 by rumremix


Initial Code
$(function() {
       var zIndexNumber = 1000;
       // Put your target element(s) in the selector below!
       $("div").each(function() {
               $(this).css('zIndex', zIndexNumber);
               zIndexNumber -= 10;
       });
});

Initial URL
http://css-tricks.com/snippets/jquery/fixing-ie-z-index/

Initial Description
Useful trick from css tricks blog at http://css-tricks.com/snippets/jquery/fixing-ie-z-index/

Initial Title
Fixing IE Z-index with jquery

Initial Tags
ie, jquery

Initial Language
JavaScript