shqawe
Member
I'm trying to change page width by adding anchor in footer once you click on it the page width will change like this site 
	
	
		
			
			
		
	
I made this jquery code to toggle the page but once i refresh the page it doesn't save the change
	
	
	
		
what actually i need is how i change [pageWidthMax] style property value when page toggled like above site ?
Thanks in advance
				
			I made this jquery code to toggle the page but once i refresh the page it doesn't save the change
		JavaScript:
	
	<xf:js>
$(function(){
    $('.change_width').on('click', function() {
        $('.p-body-inner').toggleClass('change_board_with');
        $('.p-footer-inner').toggleClass('change_board_with');
        $('.p-nav-inner').toggleClass('change_board_with');
        return false;
    });
});
</xf:js>what actually i need is how i change [pageWidthMax] style property value when page toggled like above site ?
Thanks in advance
 
 
		