Posted By

brianyang on 08/21/09


Tagged

ie 7 z-index 6 stacking


Versions (?)

Fix z-index bugs in IE 6 & 7


 / Published in: jQuery
 

URL: http://www.vancelucas.com/blog/fixing-ie7-z-index-issues-with-jquery/comment-page-1/

dynamically reverse the default z-index stacking order of the elements on your page

  1. $(function() {
  2. var zIndexNumber = 1000;
  3. $('div').each(function() {
  4. $(this).css('zIndex', zIndexNumber);
  5. zIndexNumber -= 10;
  6. });
  7. });

Report this snippet  

You need to login to post a comment.