Author: abelevich
Date: 2008-01-31 11:46:25 -0500 (Thu, 31 Jan 2008)
New Revision: 5753
Modified:
trunk/sandbox/ui/combobox/src/main/resources/org/richfaces/renderkit/html/scripts/combobox.js
trunk/sandbox/ui/combobox/src/main/templates/combobox.jspx
Log:
fix frameborder
Modified:
trunk/sandbox/ui/combobox/src/main/resources/org/richfaces/renderkit/html/scripts/combobox.js
===================================================================
---
trunk/sandbox/ui/combobox/src/main/resources/org/richfaces/renderkit/html/scripts/combobox.js 2008-01-31
15:52:18 UTC (rev 5752)
+++
trunk/sandbox/ui/combobox/src/main/resources/org/richfaces/renderkit/html/scripts/combobox.js 2008-01-31
16:46:25 UTC (rev 5753)
@@ -503,9 +503,13 @@
this.iframe.style.height = height;
}
- if (!Richfaces.browser.isIE6 && this.shadowElem) {
- this.shadowElem.style.width = (parseInt(this.width) + 7) + "px";
- this.shadowElem.style.height = (parseInt(height) + 9)+ "px";
+ if (this.shadowElem) {
+ if (!Richfaces.browser.isIE6) {
+ this.shadowElem.style.width = (parseInt(this.width) + 7) + "px";
+ this.shadowElem.style.height = (parseInt(height) + 9)+ "px";
+ } else {
+ this.shadowElem.style.visibility = "hidden";
+ }
}
this.setWidth(this.width);
@@ -693,6 +697,10 @@
iframe.id = "iframe" + comboboxId;
iframe.style.display = "none";
+ iframe.frameBorder="0";
+ iframe.scrolling="no";
+// iframe.style.backgroundColor="#FFFFFF";
+
iframe.style.width = width;
iframe.style.zIndex = "2";
Modified: trunk/sandbox/ui/combobox/src/main/templates/combobox.jspx
===================================================================
--- trunk/sandbox/ui/combobox/src/main/templates/combobox.jspx 2008-01-31 15:52:18 UTC
(rev 5752)
+++ trunk/sandbox/ui/combobox/src/main/templates/combobox.jspx 2008-01-31 16:46:25 UTC
(rev 5753)
@@ -203,6 +203,7 @@
]]>
</jsp:scriptlet>
<f:resource var="spacer" name="images/spacer.gif"/>
+ <f:resource name="org.richfaces.renderkit.images.ComboBoxListShadow"/>
<div id="control#{clientId}" class="rich-combobox-font rich-combobox
#{styleClass}" style="width:#{listWidth};#{style}"
x:passThruWithExclusions="value,name,type,id,styleClass,class,style,size,autocomplete,disabled,onchange">
Show replies by date