Email conversation
From | Olivier De Spiegeleir |
To | Me |
Subject | moving layers error in Mac |
Date | 20 September 2004 12:28 |
hello
I have built a web page that works perfectly on IE: on Windows XP (and
others I think):
xxx.xxxxxxxxxxxx.xxx
but not on MAC (problem with moving layers )
can you help me?
thank you
o de spiegeleir
From | Me |
To | Olivier De Spiegeleir |
Subject | Re: moving layers error in Mac |
Date | 20 September 2004 13:58 |
Oliver,
it is not surprising that this does not work properly. You are using
document.all. and only document.all.
Only IE and Opera 7 use document.all because it is non-standard.
You must also use document.layers and document.getElementById
See my tutorial for more information:
http://www.howtocreate.co.uk/tutorials/javascript/dhtml
Also, I see that you are using filters. Only IE on windows understands
filters. you must protect the other browsers.
Change this:
function nereidFade(object, destOp, rate, delta){
if (!document.all)
return
to this
function nereidFade(object, destOp, rate, delta){
if (!document.all||!object.filters)
return
Hope this helps
Mark 'Tarquin' Wilton-Jones - author of http://www.howtocreate.co.uk/
From | Olivier De Spiegeleir |
To | Me |
Subject | Re: moving layers error in Mac |
Date | 20 September 2004 21:39 |
thank you very much
best regards from brussels
olivier de spiegeleir