I have a small webpage which checks for the dimensions of a screen before loading a website, then loading one (of several) which would fit the screen best. Originally this code was fine, until I decided to mesh with it some code that would open a window to specific dimensions and then some other code to remove scroll bars and menus… now leaving me just the lower option which works properly.
I would like to sort this out so that each page loads as it should, in accordance with the conditions. Presently only the bottom part of the code works:
“if (res!=’1′ && res!=’2′ && res!=’3′) PopupCenter (‘
So the window will open at 800×531 and load ../800.html, but the other conditions will not work, unless I c&p them to this lower part of the code. I think I’ve gotten something wrong.
website: [url]www.meta.projectmio.com/pop.html
Thanks.