There's a javascript animated starfield background @ http://pcsohio.com
It functions as intended in MSIE5.x, and Netscape 4.x, but is quite absent under Opera 6.05 and NS7x.
What is causing this, and is it correctable?
[and if so, how?]
tia,
Denny
AFAICS, this is the first place that it falls flat on its face:
WinHeight = (document.layers) ? window.innerHeight :
window.document.body.clientHeight;
This assumes that only Netscape 4 uses window.innerHeight.
--
Stephen Chalmers
E-mail: url:http://homepage.ntlworld.com/stephen.chalmers/mailme/
> AFAICS, this is the first place that it falls flat on its face:
>
> WinHeight = (document.layers) ? window.innerHeight :
> window.document.body.clientHeight;
>
> This assumes that only Netscape 4 uses window.innerHeight.
It continues. I would say that there are too many places in that
script where it assumes that the world is only NS4 or IE, for it
to be viable to convert. I would rather write it from scratch.
/L
--
Lasse Reichstein Nielsen - l...@hotpop.com
'Faith without judgement merely degrades the spirit divine.'