Code

Made mail plugin w3c conform
[gosa.git] / html / include / focus.js
index a41a6ff0513b858b5a95082234f39d1b08a70fb1..cc6bc15dff4cce53bcce59d4d18b70d27c7ff411 100644 (file)
@@ -214,6 +214,20 @@ function divtoggle(element) {
                                cell.style.height=document.defaultView.getComputedStyle(document.poppedLayer,"").getPropertyValue('height');
                        }
                }
+       } else if (browserType == "ie") {
+    document.poppedLayer = document.getElementById(element);
+               cell= document.getElementById(cellname);
+         if (document.poppedLayer.style.visibility == "visible") {
+                 hide (element);
+                       cell.style.height="0px";
+                       document.poppedLayer.style.height="0px";
+                       document.poppedLayer.style.position="absolute";
+               } else {
+                 show (element);
+                       cell.style.height="";
+                       document.poppedLayer.style.height="";
+                       document.poppedLayer.style.position="relative";
+               }
        }
 }