View Single Post
  #22   Spotlight this post!  
Unread 15-05-2005, 14:38
Joel J's Avatar
Joel J Joel J is offline
do you..
no team
 
Join Date: May 2001
Rookie Year: 2000
Location: San Jose, CA
Posts: 1,445
Joel J has a reputation beyond reputeJoel J has a reputation beyond reputeJoel J has a reputation beyond reputeJoel J has a reputation beyond reputeJoel J has a reputation beyond reputeJoel J has a reputation beyond reputeJoel J has a reputation beyond reputeJoel J has a reputation beyond reputeJoel J has a reputation beyond reputeJoel J has a reputation beyond reputeJoel J has a reputation beyond repute
Re: Resolution, part II.

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.
__________________
Joel Johnson

Division By Zero (229) Alumni, 2003-2007
RAGE (173) Alumni, 1999-2003
Reply With Quote