Click to See Complete Forum and Search --> : Screen Resulation Changer


foez
02-10-2006, 03:07 PM
Is there any java script that automatically changes the screen/desktop resulation to 1024 x 768 whenever the page is loaded?
I want to implement this cause a web page of mine looks perfect at this resulation.
if anyone knows such java script plz notify.

mrmazur
02-10-2006, 03:17 PM
I have yet to see something like that in action, especialy using JavaScript. Even if there was something like that out there I think it may upset some people that you are tweaking their resolution seatings. Especialy those still running 14" and 15" monitors (although they don't account for the majority of the internet users these days). But then you have the issue of perhaps someone having a flaky video card that hangs the system if they try to run that display resolution settings. I just see too many scenarios for upsetting some folks...and like I said initialy I don't believe there is anything like that out there. The only think you can put is a disclaimer that the site is best viewed at that resolution and perhaps have a link to instructions on changing the resolution on PC/Mac systems.

felgall
02-10-2006, 03:22 PM
Javascript has access to change things in the web page. Javascript does not have access to make changes to the browser unless the owner of the browser grants permission. Javascript never has access to the operating system.

Also mobile phones and TV sets can't handle the resolution you want to display your page at. Anyone viewing the web on a TV will see it at 544 pixels wide. Anyone viewing on a mobile phone will see even less.

Redesign your web page so that is works regardless of the screen resolution. You can't force your visitors to virew it the way you like it, if you try then they'll all go somewhere else and your annual visitors will drop close to zero.