You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by bu...@apache.org on 2004/04/07 00:12:21 UTC
DO NOT REPLY [Bug 24900] -
Woody help popup broken in strict mode
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=24900>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=24900
Woody help popup broken in strict mode
joerg.heinicke@gmx.de changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
------- Additional Comments From joerg.heinicke@gmx.de 2004-04-06 22:12 -------
The problem is most simple:
@@ -158,8 +158,8 @@
if (this.divName != null) {
// Show the DIV object
if (this.use_gebi) {
- document.getElementById(this.divName).style.left = this.x;
- document.getElementById(this.divName).style.top = this.y;
+ document.getElementById(this.divName).style.left = this.x + "px";
+ document.getElementById(this.divName).style.top = this.y + "px";
document.getElementById(this.divName).style.visibility = "visible";
}
I found this out using Mozilla's JavaScript Debugger. While the value was
calculated correctly, it was simply not set. Even setting it myself did not
work. Then I had the idea of the missing unit. Now it works.
After that I also found the thread at mattkruse.com:
http://www.mattkruse.com/scripts/support/ubb/Forum10/HTML/000474.html
Why such things are always only found after two hours of investigation???