davidpadua
12/4/2013 - 12:12 PM

Window dimensions

Window dimensions

////////////////////////////////////////////////////////WINDOW DIMENSIONS
var windowWidth = $(window).width(); //retrieve current window width
var windowHeight = $(window).height(); //retrieve current window height