If you have an HTML element that you are showing and hiding you may have some problems in Internet Explorer. IE decides to reorder your z-index depending on whether the elements are positioned relative based on some arbitrary context. Whatever. Here is a quick fix using jQuery:
$(document).ready(function() {
// Following fixes IE z-index bug so tooltips can work
var zIndexNumber = 1000;
$('div').each(function() {
$(this).css('zIndex', zIndexNumber);
zIndexNumber -= 10;
});
});
Be the first to rate this post
- Currently 0/5 Stars.
- 1
- 2
- 3
- 4
- 5