# 6526: Update prototype and scriptacolous
[Packages/TYPO3.CMS.git] / typo3 / alt_main_new.php
index 62a68fc..fc3d7c7 100644 (file)
@@ -76,8 +76,20 @@ class SC_alt_main {
                // Internal, dynamic:
        var $content;
        var $mainJScode;
-       var $loadModules;               // Load modules-object
-       var $alt_menuObj;               // Menu functions object.
+
+       /**
+        * Object for backend modules, load modules-object
+        *
+        * @var t3lib_loadModules
+        */
+       var $loadModules;
+
+       /**
+        * Menu functions object
+        *
+        * @var alt_menu_functions
+        */
+       var $alt_menuObj;
 
                // Internal, static:
        var $leftMenuFrameW = 130;
@@ -609,7 +621,7 @@ class SC_alt_main {
                                }
                                Element.setStyle(menyLayerObj,{top: \''.$this->topMenu.'px\'}); 
                                
-                               Effect.Appear(menyLayerObj,{duration: 0.4});
+                               Effect.Appear(menyLayerObj,{duration: 0.2});
                        }       
                        
                        function menuOpenSub(el)        {
@@ -620,7 +632,7 @@ class SC_alt_main {
                                        if (node.nodeType==1)   {       // This type seems to represent tags, not CDATA (which for some reason stops JS execution!)
                                                //debugObj(node);
                                                if (Element.hasClassName(node,"menulayer") && !Element.visible(node))   {
-                                                       Effect.Appear(node,{duration: 0.4});
+                                                       Effect.Appear(node,{duration: 0.2});
                                                        Element.setStyle(node,{left: ($(el).offsetLeft + Element.getDimensions(el).width - 5) +\'px\'}); 
                                                        
                                                        if (el.id && menuItemObjects[""+el.id]) {