I was searching around for an easy solution regarding the stupid IE7 z-index problems and i stumbled upon this article.
Tweaked the jQuery script a bit by adding the browser check.
Here's the end result for the IE7 z-index problem, it seems to work pretty well for me.
$(document).ready(function() {
if ($.browser.msie && $.browser.msie < 8) {
var zIndexNumber = 1000;
$('div').each(function() {
$(this).css('zIndex', zIndexNumber);
zIndexNumber -= 10;
});
}
});
Comments
Great man! works for me
Submitted by Code Monkey (not verified) on
Great man!
works for me
Pages
Add new comment