• No categories

Increase Decrease Web Page Size based on window size

Hello Everybody, Today i will show simple jquery code to adjust the contents div size according to window size.
Both right and left side bars will remain at their actual size but the width and height of contents will adjust
accordingly. Jquery Code for width handling is given below and you can download full demo by click on Download Demo-

var leftBarWidth = $(‘#leftsidebar’).width();
var rightBarWidth = $(‘#rightsidebar’).width();
$(window).resize(function() {



About the Author:

Comments are closed.