Ie7 Internet Explorer 7 z-index problem fix


/ Published in: jQuery
Save to your folder(s)



Copy this code and paste it in your HTML
  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


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.