Closed Thread Icon

Topic awaiting preservation: attachEvent equiv for moz without losing ie? (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=8866" title="Pages that link to Topic awaiting preservation: attachEvent equiv for moz without losing ie? (Page 1 of 1)" rel="nofollow" >Topic awaiting preservation: attachEvent equiv for moz without losing ie? <span class="small">(Page 1 of 1)</span>\

 
smonkey
Paranoid (IV) Inmate

From: Northumberland, England
Insane since: Apr 2003

posted posted 09-24-2003 00:28

Hi,

Just a quickie

I currently have this which works great in ie (calls the exturl function onload)

window.attachEvent("onload",exturl);

But moz doesn't like it, apparently it likes addEventListener, but I can't get that to work.

I need a very compact solution that works for both ie and moz.

Any Ideas?

Thanks,

Jon

Slime
Lunatic (VI) Mad Scientist

From: Massachusetts, USA
Insane since: Mar 2000

posted posted 09-24-2003 01:18

Try http://www.scottandrew.com/weblog/articles/cbs-events

« BackwardsOnwards »

Show Forum Drop Down Menu