Active Topics

 


Reply
Thread Tools
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.
 
Benson's Avatar
Posts: 4,930 | Thanked: 2,272 times | Joined on Oct 2007
#2
You can use greasemonkey...
 

The Following User Says Thank You to Benson For This Useful Post:
scumgrief's Avatar
Posts: 127 | Thanked: 15 times | Joined on Feb 2008
#3
Just got it, thanks.
__________________
Scraping money together to get a n810 and/or n800.
 
scumgrief's Avatar
Posts: 127 | Thanked: 15 times | Joined on Feb 2008
#4
I got it... but I have yet to find a way to do what I asked about to begin with. Possibly if there is a way to change the location of the script i could have on somewhere on my devices...

Oh well. So much for ultimate web brower to go...
__________________
Scraping money together to get a n810 and/or n800.
 
brontide's Avatar
Posts: 868 | Thanked: 474 times | Joined on Oct 2007 @ Capital District, NY, USA
#5
Originally Posted by scumgrief View Post
Oh well. So much for ultimate web brower to go...
You can drag a web designer to logic and docs, but you can't force them to code for the small screen.

Complain to the site owners to stop ignoring smaller devices.
 
Texrat's Avatar
Posts: 11,700 | Thanked: 10,045 times | Joined on Jun 2006 @ North Texas, USA
#6
Just keep repeating: there's no tech like css... there's no tech like css...
__________________
Nokia Developer Champion
Different <> Wrong | Listen - Judgment = Progress | People + Trust = Success
My personal site: http://texrat.net
 
Reply


 
Forum Jump


All times are GMT. The time now is 18:22.