Author: d.bulahov
Date: 2007-04-02 10:32:36 -0400 (Mon, 02 Apr 2007)
New Revision: 233
Modified:
trunk/richfaces/dropdown-menu/src/main/config/component/dropdownmenu.xml
trunk/richfaces/dropdown-menu/src/main/resources/org/richfaces/renderkit/html/css/dropdownmenu.xcss
trunk/richfaces/dropdown-menu/src/main/resources/org/richfaces/renderkit/html/scripts/menu.js
Log:
Development (positioning of the menu of groups)
Modified: trunk/richfaces/dropdown-menu/src/main/config/component/dropdownmenu.xml
===================================================================
--- trunk/richfaces/dropdown-menu/src/main/config/component/dropdownmenu.xml 2007-04-02
08:27:15 UTC (rev 232)
+++ trunk/richfaces/dropdown-menu/src/main/config/component/dropdownmenu.xml 2007-04-02
14:32:36 UTC (rev 233)
@@ -44,6 +44,7 @@
<description>
Set the submission mode for all menu items of the menu except ones where this
attribute redefined. (ajax,server(Default),none)
</description>
+ <defaultvalue>"server"</defaultvalue>
</property>
<property>
Modified:
trunk/richfaces/dropdown-menu/src/main/resources/org/richfaces/renderkit/html/css/dropdownmenu.xcss
===================================================================
---
trunk/richfaces/dropdown-menu/src/main/resources/org/richfaces/renderkit/html/css/dropdownmenu.xcss 2007-04-02
08:27:15 UTC (rev 232)
+++
trunk/richfaces/dropdown-menu/src/main/resources/org/richfaces/renderkit/html/css/dropdownmenu.xcss 2007-04-02
14:32:36 UTC (rev 233)
@@ -27,7 +27,6 @@
white-space : nowrap;
font-family : arial;
font-size : 11px;
- position : relative;
width : 75px;
height : 18px;
}
Modified:
trunk/richfaces/dropdown-menu/src/main/resources/org/richfaces/renderkit/html/scripts/menu.js
===================================================================
---
trunk/richfaces/dropdown-menu/src/main/resources/org/richfaces/renderkit/html/scripts/menu.js 2007-04-02
08:27:15 UTC (rev 232)
+++
trunk/richfaces/dropdown-menu/src/main/resources/org/richfaces/renderkit/html/scripts/menu.js 2007-04-02
14:32:36 UTC (rev 233)
@@ -387,10 +387,10 @@
var dim = Element.getDimensions(this.element);
// parent element
-// var top = screenOffset[1];
-// var left = screenOffset[0];
- var top = 0;
- var left = 0;
+ var top = screenOffset[1];
+ var left = screenOffset[0];
+ //var top = 0;
+ //var left = 0;
var bottom = top + dim.height;
var right = left + dim.width;
Show replies by date