Webdevelopment
Drupal
Betriebssysteme
Design
Sonstige
Sa., 05/05/2012 - 18:57
Body
Z-Index
http://tjkdesign.com/articles/z-index/teach_yourself_how_elements_stack.asp FIX for DUMB ie7 css z-index wrong stacking.Z-Index IE 7
- <script type="text/javascript">
- //ie 7 wrong z-index interperatation fix
- if (navigator.appVersion.indexOf("MSIE 7.") != -1) {
- if (Drupal.jsEnabled) {
- $(function() {
- var zIndexNumber = 1000;
- $('div').each(function() {
- $(this).css('zIndex', zIndexNumber);
- zIndexNumber -= 10;
- });
- });
- }
- }
- </script>
Webdevelopment
Add new comment