View Single Post
scumgrief's Avatar
Posts: 127 | Thanked: 15 times | Joined on Feb 2008
#1
I have a question that if answered with a way of getting around this, will make my life a whole lot easier.

I have to use this online school, but they don't support any resolutions below 800x600, and I know it works just fine with lower res screens because i tried it on a 800x480 screen after I d/ced it from a (external) monitor.

How would I go about this since its becoming more and more universal. I'm getting a NIT soon and it would be great for this site.

Code:
//we don't support 640x480
if ( screen.height < 500 )
{
alert ("Sorry, your screen resolution is below 800x600. Please increase your screen resolution and login again.");
}
else
{
// align the new window to top left corner if the resolution is 800x600.
if ( screen.height == 600 )
{
wleft = 0;
wtop = 0;

}
else // align to center of screen
{
wleft = screen.width/2 - width/2;
wtop = screen.height/2 - height/2;
}
Lines 488 to 507 of the common.js used on the apex virtual school (apexvs.com) website.
__________________
Scraping money together to get a n810 and/or n800.