Mozilla issue with JavaScript, screen.availHeight and <iframe>
I ran into an interesting issue this morning - maybe one of you will have a solution. I can get the height of a browser window using screen.availHeight
in Mozilla/IE, just fine, but when there's an <iframe> on the page, Mozilla pukes. For more information, please see this complete explanation and demo.
Update: Boy am I an idiot - my <iframe> was named "screen" causing conflicts when referring to screen.availHeight
. Oh well, I love easy solutions!