javascriptmenü: Bei Click in Contentbereich das Menü schließen.
authorSven Schöling <s.schoeling@linet-services.de>
Tue, 21 Feb 2012 12:53:23 +0000 (13:53 +0100)
committerSven Schöling <s.schoeling@linet-services.de>
Tue, 21 Feb 2012 12:53:23 +0000 (13:53 +0100)
js/dhtmlsuite/menu-for-applications.js

index 664ee9e..ce18180 100644 (file)
@@ -2345,6 +2345,10 @@ DHTMLSuite.menuBar.prototype = {
        __setBasicEvents : function()\r
        {\r
                DHTMLSuite.commonObj.addEvent(document.documentElement,"click",this.hideSubMenus);              \r
+        var menu = this;\r
+        $('#win1').load(function(){\r
+            $('#win1').contents().mousedown(menu.hideSubMenus);\r
+        })\r
        }\r
 }\r
 \r