/ Published in: JavaScript

Useful trick from css tricks blog at http://css-tricks.com/snippets/jquery/fixing-ie-z-index/
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
$(function() { var zIndexNumber = 1000; // Put your target element(s) in the selector below! $("div").each(function() { $(this).css('zIndex', zIndexNumber); zIndexNumber -= 10; }); });
URL: http://css-tricks.com/snippets/jquery/fixing-ie-z-index/
Comments
