Author: sergeyhalipov
Date: 2007-07-27 12:34:06 -0400 (Fri, 27 Jul 2007)
New Revision: 1905
Modified:
trunk/ui/dropdown-menu/src/main/java/org/richfaces/renderkit/html/DropDownMenuRendererBase.java
trunk/ui/dropdown-menu/src/main/templates/org/richfaces/htmlDropDownMenu.jspx
Log:
http://jira.jboss.com/jira/browse/RF-493
Modified:
trunk/ui/dropdown-menu/src/main/java/org/richfaces/renderkit/html/DropDownMenuRendererBase.java
===================================================================
---
trunk/ui/dropdown-menu/src/main/java/org/richfaces/renderkit/html/DropDownMenuRendererBase.java 2007-07-27
16:32:41 UTC (rev 1904)
+++
trunk/ui/dropdown-menu/src/main/java/org/richfaces/renderkit/html/DropDownMenuRendererBase.java 2007-07-27
16:34:06 UTC (rev 1905)
@@ -75,7 +75,7 @@
writer.startElement("div", layer);
writer.writeAttribute("id", clientId+"_menu", null);
writer.writeAttribute("class", "dr-menu-list-border
rich-menu-list-border", null);
- writer.writeAttribute("style", "visibility: hidden; z-index:100; ",
null);
+ writer.writeAttribute("style", "visibility: hidden; z-index: 2; ",
null);
writer.startElement("div", layer);
writer.writeAttribute("class", "dr-menu-list-bg rich-menu-list-bg",
null);
encodeItems(context, layer);
@@ -104,7 +104,7 @@
.getUri(context, null), null);
writer.writeAttribute("id", clientId+"_menu_iframe", null);
writer.writeAttribute("class", "underneath_iframe", null);
- writer.writeAttribute("style", "position:absolute", null);
+ writer.writeAttribute("style", "position:absolute; z-index: 1;",
null);
writer.endElement("iframe");
writer.startElement("script", layer);
Modified: trunk/ui/dropdown-menu/src/main/templates/org/richfaces/htmlDropDownMenu.jspx
===================================================================
---
trunk/ui/dropdown-menu/src/main/templates/org/richfaces/htmlDropDownMenu.jspx 2007-07-27
16:32:41 UTC (rev 1904)
+++
trunk/ui/dropdown-menu/src/main/templates/org/richfaces/htmlDropDownMenu.jspx 2007-07-27
16:34:06 UTC (rev 1905)
@@ -42,7 +42,7 @@
<![CDATA[}]]>
</jsp:scriptlet>
- <div style="margin: 0px; padding: 0px; border: 0px; position:
relative;">
+ <div style="margin: 0px; padding: 0px; border: 0px; position: relative;
z-index:100;">
<vcp:body>
<f:call name="renderChildren" />
</vcp:body>