Posted By

ronal on 05/21/11


Tagged

ie7 z-index


Versions (?)

Ie7 Internet Explorer 7 z-index problem fix


 / Published in: jQuery
 

  1. <!--[if IE 7]>
  2.  
  3. <script type="text/javascript">
  4.  
  5. $(function() {
  6. var zIndexNumber = 500;
  7. $('div').each(function() {
  8. $(this).css('zIndex', zIndexNumber);
  9. zIndexNumber -= 5;
  10. });
  11. });
  12.  
  13. </script>
  14. <![endif]-->

Report this snippet  

You need to login to post a comment.