// Variables
var $window = $(window);
var id;

// Each time the user resized the window call this
$window.resize(function () {

    // Reset the timeout
    clearTimeout(id);
    
    // Call the function after it has stopped being resized
    id = setTimeout(screenResize, 500);
    
});


// Call the function
function screenResize() {

    // CODE
	
}

Posted on

Other library topics

Next/Prev

Worthy of Note

Worthy of Note is a site aimed at Web Designers & Developers. It offers a wide range of resources to help assist anyone in the web industry.

View