Feedback on: irt.org FAQ Knowledge Base Q868
Worth:
Very worth reading
Comments:
it explained exactly what I was looking for, but it has a typo. in the second code example 'self' is misspelled 'sefl'. :)
Worth:
Very worth reading
Length:
Just right
Technical:
Just right
Comments:
You might add to the article, that the check for innerHeight and innerWidth just HAS to be done the way it's written. Don't
try to a different check without the NOT (!) operator. Because this won't work in MSIE (4.0) browsers since they don't know anything about innerHeight and innerWidth. Thus the check for these will always fail if you do something like this:
(self == top && ((self.innerHeight > 0) && (self.innerWidth > 0))
This works in NN4+ but not in MSIE4.0
Hope you understand the meaning of my comment.
Regards,
Anders Gilbro Nielsen
agn@schultz.dk