Quote:
|
Originally Posted by activemx
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';
}
}
|
vBulletin comes with a style selector.