|
Re: Resolution, part II.
Quote:
|
Originally Posted by Brandon Martus
We did this poll a few years ago, but things change.
So .. what resolution do you primarily browse ChiefDelphi using?
I'll keep this open for 2 weeks and we'll see.
|
Brandon I have a suggestion. To satisfy everyone you could have both options. Using the power off CSS you can acchieve this quite easily. You can just have a link/button on the front page that the user can click can change the style and allow the users to view the website streached or fixed.
Something like this.
PHP Code:
currentWidth = 990;
setWidth(990);
function toggleWidth(){
currentWidth = parseInt(currentWidth);
var newWidth =990;
if(currentWidth ==990){
newWidth = 1200;
}
setWidth(newWidth);
currentWidth = newWidth;
}
function setWidth(width){
if(width != 990){
newWidth = 1200;
document.body.style.width = '90%';
}else{
document.body.style.width = '990px';
}
}
__________________
2005 - Present - FIRST Volunteer(Inspector, Ref, Judge)
2000-2004 MVRT 115
Last edited by activemx : 15-05-2005 at 14:31.
|