Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Firefox problems image is not displayed

843844Jan 7 2008 — edited Jan 7 2008
Hi
In our application we have an calender option. when i try to select the date picker the one border image needs to display.. for that i am using innerHtml..This is working fine in IE but In Firefox it gives dark background color instead of that image around the calender. this is my code..


Calendar.prototype.getHTML = function ()
{
var html = "";

html += "<div style=\"z-index:1;background-color:white;position:absolute;visibility:show;\">";
html += "<img src=\"\\POS\\img\\zeppelin-calendar.gif\" border=\"0\">";
html += "</div>"
html += "<div style=\"left:36px;top:5px;position:relative;z-index:2;background-color:#FFCC66;visibility:show;\">";
html += "<table class=\"" + this.styleClass + "\" bordercolor=\"#FFCC66\" cellspacing=\"1\">";
html += this.buildDayHeaders();
html += this.buildDays();
html += this.buildFooter();
html += "</table>";
html += "</div>";
//alert(html);
return html;
};

so please give an suggestion to resolve this,,
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 4 2008
Added on Jan 7 2008
1 comment
112 views