I am currently using jQuery’s resize function, but because of what I adjust on resize, there’s simply too much going on to make it look smooth, as it fires at every adjustment.
$(window).resize(function() {
myFunction();
});
Is there a way to fire a function off after the resize has stopped? Like $(window).afterResize() or something?
Any solutions welcome.
I am not sure if there is a ‘clean’ native way to do it (hopefully there is and someone will shed light)
but you “hack” it like this http://jsfiddle.net/tuuN3/