Commits

David Jean Louis committed 27eddec

Fixed js and css for IE6 and IE7

  • Participants
  • Parent commits 7c4c887

Comments (0)

Files changed (2)

admin_tools/media/admin_tools/css/dashboard-ie.css

 }
 
 #content {
-    *min-width: 98%;
+    *width: 98% !important;
+    _width: 96% !important;
+    margin: 1%;
+}
+
+#container {
+    _margin: 0;
 }
 
 .dashboard-module h2 a.toggle-icon,
 }
 
 .dashboard-column {
-    padding: 20px;
 }

admin_tools/media/admin_tools/js/utils.js

             s.src = js_files[index].src;
             s.type = 'text/javascript';
             head.appendChild(s);
-
-            s.onload = function(){
-                loadScript(index+1);
+            if (/MSIE/.test(navigator.userAgent)) {
+                // Internet Explorer
+                s.onreadystatechange = function () {
+                    if (s.readyState == 'loaded' || s.readyState == 'complete') {
+                        loadScript(index+1);
+                    }
+                };
+            } else {
+                s.onload = function() { loadScript(index+1); };
             }
         } else {
             loadScript(index+1);