Closed Bug 90150 Opened 24 years ago Closed 24 years ago

Layers appear incorrectly or not at all

Categories

(SeaMonkey :: General, defect)

x86
Windows NT
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED INVALID

People

(Reporter: Bugzilla-alanjstrBugs, Assigned: asa)

References

()

Details

From Bugzilla Helper: User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:0.9.2+) Gecko/20010709 BuildID: 2001070904 This is probably dependant on Bug 84101 and 24797. One thing that's different: That page has a DHTML/Layers block on it as well, which is not rendering either. Just so you know what the javascript errors are: I have a piece of javascript (http://www.geocities.com/alanjstr/js/killpopup.js ) that removes the geocities ads from the screen, on normal operation. It does it in two parts: 1. closes the pop-up ad window (for older browsers) and 2. Closes the DHTML ad by 'clicking' its X. 1 leaves some temporary artifacts on the screen (not reproducibly). 2 fails because of the poorly written Geocities ad being broken. Reproducible: Always Steps to Reproduce: Expected Results: DHTML Layer on left side of screen with changing text
Are you talking about the code in http://www.geocities.com/alanjstr/js/ticker.js ? And is the bug that that code is doing nothing? If so, this is invalid -- that code assumes that the browser has document.layers or document.all. Mozilla supports neither one.
Oh. What is the Mozilla equivalent, then?
Status: UNCONFIRMED → RESOLVED
Closed: 24 years ago
Resolution: --- → INVALID
see http://www.w3.org/DOM/ has the complete references... Your code would probably use some combination of createTextNode and appendChild, though Mozilla also supports .innerHTML for IE compatibility. You would also want to use .style.top and .style.left to position. Note: the same code should work for Mozilla and IE 5.5 or greater...
Of course I got that code from some web site, so I never really took the time to learn it. Guess I need to step up my activity. It currently works in IE 4+ and Netscape 4+.
Status: RESOLVED → VERIFIED
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.