[thelist] NS 7.0 ScreenSize Bug
Peter-Paul Koch
gassinaumasis at hotmail.com
Fri Dec 6 05:31:00 CST 2002
>Thanks for the feedback. I deleted the IF altogether. I should've
>noticed it.
>
>Here's another problem:
>AvailHeight and AvailWidth seem to work fine, but they return downsized
>window sizes.
Yep. Window size minus taskbars and such.
>I'd like the full width / height returned, but I have trouble getting
>values from
>
> > document.LoginForm.strResWidth.value = window.screen.Width;
> > document.LoginForm.strResHeight.value = window.screen.Height;
>
>Which *I thought* returned the display values, not the window size
>values.
>
>Do I have the syntax wrong?
Yep, they should be all lower case. width, not Width, height, not Height.
--------------------------------------------------
ppk, freelance web developer
Interaction, copywriting, JavaScript, integration
http://www.xs4all.nl/~ppk/
Column "Keep it Simple": http://www.digital-web.com/columns/keepitsimple/
What shall we do with the W3C DOM?:
http://www.evolt.org/article/What_shall_we_do_with_the_W3C_DOM/4090/47311/index.html
--------------------------------------------------
_________________________________________________________________
Tired of spam? Get advanced junk mail protection with MSN 8.
http://join.msn.com/?page=features/junkmail
More information about the thelist
mailing list