Results 1 to 1 of 1
Jul 25, 2007, 22:25 #1
- Join Date
- Sep 2004
- Phoenix, Az
- 0 Post(s)
- 0 Thread(s)
Question about resizing window onload
I tried using the resize function on a page, but it seems to make it much smaller than I was aiming for. I am assuming this is because it's measuring the entire window, and not just the visible part of the web page.
After looking around it appears there is something called innerwidth and innerheight. I know there must be some way around this. It seems you almost would have to size the window, then resize it again after subtracting what the inner width would need to be adjusted by.
Is there a better way to do this?