Olivier De Spiegeleir

Navigation

Skip navigation.

Search

Site navigation

Email conversation

FromOlivier De Spiegeleir
ToMe
Subjectmoving layers error in Mac
Date20 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
FromMe
ToOlivier De Spiegeleir
SubjectRe: moving layers error in Mac
Date20 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/
FromOlivier De Spiegeleir
ToMe
SubjectRe: moving layers error in Mac
Date20 September 2004 21:39
thank you very much
best regards from brussels
olivier de spiegeleir
This site was created by Mark "Tarquin" Wilton-Jones.
Don't click this link unless you want to be banned from our site.