Posted By

rumremix on 12/06/12


Tagged

ie jquery z-index


Versions (?)

Fixing IE Z-index with jquery


 / Published in: JavaScript
 

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

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

  1. $(function() {
  2. var zIndexNumber = 1000;
  3. // Put your target element(s) in the selector below!
  4. $("div").each(function() {
  5. $(this).css('zIndex', zIndexNumber);
  6. zIndexNumber -= 10;
  7. });
  8. });

Report this snippet  

You need to login to post a comment.