Closed
Bug 148607
Opened 23 years ago
Closed 21 years ago
dol2day.de - Backgroundimage not showen in Mozilla! A L L other Browsers (not based on Gecko) shot it.
Categories
(Tech Evangelism Graveyard :: German, defect)
Tech Evangelism Graveyard
German
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: ih, Unassigned)
References
()
Details
Attachments
(1 file)
|
8.11 KB,
text/html
|
Details |
The German-based Site Democracy Online Today, also know as Dol2Day, has a
background image on its firstpage, where you login.
In Internet Explorer (all Versions starting from 4), Opera (newest, other not
tested) and KHTML based show it. Gecko based Browsers, i.e. Mozilla (tested from
0.9.8 - 1.0 RC3) d o n o t show it!
This seems to be the code in question:
"<div id="BackLayer" STYLE="position:absolute; pagey:0; z-index:-1;">
<table width="760" border="0" height="500">
<tr>
<td><img src="start/hintergrund.jpg" width="760" height="500"></td>
</tr>
</table>
</div>"
Comment 1•23 years ago
|
||
The page has the following script:
if (document.layers) {
ns = 1; ie = 0;
} else {
ns = 0; ie = 1;
}
function SetToCenter() {
if (ns) {
NewX = Math.round((window.innerWidth-760)/2);
if (NewX < 0) NewX = 0;
document.BackLayer.left = NewX;
document.Layer.left = NewX;
}
if (ie) {
NewX = Math.round((document.all.Startseite.offsetWidth-760)/2)-10;
if (NewX < 0) NewX = 0;
BackLayer.style.left = NewX;
Layer.style.left = NewX;
}
}
It is wrong as it thinks only document.layers or document.all are possible.
The right script would be:
if (document.getElementById) {
ns = 0; ie = 0; moz = 1;
} else if (document.all) {
ns = 0; ie = 1; moz = 0;
} else if (document.layers) {
ns = 1; ie = 0; moz = 0;
}
function SetToCenter() {
if (ns) {
NewX = Math.round((window.innerWidth-760)/2);
if (NewX < 0) NewX = 0;
document.BackLayer.left = NewX;
document.Layer.left = NewX;
}
if (ie) {
NewX = Math.round((document.all.Startseite.offsetWidth-760)/2)-10;
if (NewX < 0) NewX = 0;
BackLayer.style.left = NewX;
Layer.style.left = NewX;
}
if (moz) {
NewX =
Math.round((document.getElementById("Startseite").offsetWidth-760)/2)-10;
if (NewX < 0) NewX = 0;
document.getElementById("BackLayer").style.left = NewX;
document.getElementById("Layer").style.left = NewX;
}
}
but it still does not work :-(
Anyway, confirming and reassigning to the right component (-> Europe:West)
Assignee: piskozub → nitot
Status: UNCONFIRMED → NEW
Component: Europe: Central → Europe: West
Ever confirmed: true
QA Contact: pali → brantgurganus2001
Summary: Backgroundimage not showen in Mozilla! A L L other Browsers (not based on Gecko) shot it. → [LAYERS] www.dol2day.de - Backgroundimage not showen in Mozilla! A L L other Browsers (not based on Gecko) shot it.
Comment 2•23 years ago
|
||
Actually this is a problem with "z-index:-1" and this is a DUP of a known
problem. It seems it is a fault of Mozilla, after all :-(
*** This bug has been marked as a duplicate of 78087 ***
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
Summary: [LAYERS] www.dol2day.de - Backgroundimage not showen in Mozilla! A L L other Browsers (not based on Gecko) shot it. → www.dol2day.de - Backgroundimage not showen in Mozilla! A L L other Browsers (not based on Gecko) shot it.
Comment 3•23 years ago
|
||
"z-index: -1" changed to "z-index: 0" and added "z-index: 1"
Comment 4•23 years ago
|
||
Reopening, since the "known problem" is almost certainly INVALID or WONTFIX
(invalid in standards, wontfix in quirks).
Status: RESOLVED → REOPENED
Resolution: DUPLICATE → ---
Comment 5•23 years ago
|
||
Boris, mark as WONTFIX bug 78087, not this. This is certainly a dup.
*** This bug has been marked as a duplicate of 78087 ***
Status: REOPENED → RESOLVED
Closed: 23 years ago → 23 years ago
Resolution: --- → DUPLICATE
Comment 6•23 years ago
|
||
The point is that if that bug is wontfix then this bug should be evangelized.
Which is why I would prefer to keep it open.
Marking dependency, however, so that if that one is ever "fixed" (very
unlikely) this one can be resolved.
Comment 7•23 years ago
|
||
Boris: I only wonder why you treated differently a similar bug 116021. You duped
it yourself against bug 78087. This does not seem very consistent :-(
Luckily this bug is not my in Evangelism precint :-)
Removing myself from the CC: list.
Updated•23 years ago
|
Updated•22 years ago
|
Summary: www.dol2day.de - Backgroundimage not showen in Mozilla! A L L other Browsers (not based on Gecko) shot it. → dol2day.de - Backgroundimage not showen in Mozilla! A L L other Browsers (not based on Gecko) shot it.
Comment 8•22 years ago
|
||
move...
Assignee: nitot → german
Status: REOPENED → NEW
Component: Europe: West → German
QA Contact: brantgurganus2001 → german
Comment 9•21 years ago
|
||
Boris, now that the other bug is going to be fixed once, thanks to changes in
CSS 2.1, this should be a duplicate of that bug and no longer depending on bug
78087, right?
Comment 10•21 years ago
|
||
no <div ...> anymore on that page, the background image is now displayed with a
current Mozilla CVS trunk build.
-->fixed
Status: NEW → RESOLVED
Closed: 23 years ago → 21 years ago
Resolution: --- → FIXED
| Reporter | ||
Updated•21 years ago
|
Status: RESOLVED → VERIFIED
Updated•10 years ago
|
Product: Tech Evangelism → Tech Evangelism Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•