Created
June 26, 2012 17:27
-
-
Save baldwindavid/2997237 to your computer and use it in GitHub Desktop.
IE7 z-index
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if ($.browser.msie && $.browser.version == 7) { | |
$(function() { | |
var zIndexNumber = 1000; | |
$("div").each(function() { | |
$(this).css('zIndex', zIndexNumber); | |
zIndexNumber -= 10; | |
}); | |
}); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment