JavaScript/JQuery: $(window).resize how to fire AFTER the resize is completed?
Posted
by sarah
on Stack Overflow
See other posts from Stack Overflow
or by sarah
Published on 2010-05-18T03:33:47Z
Indexed on
2010/05/18
3:41 UTC
Read the original article
Hit count: 228
JavaScript
|jQuery
I'm using JQuery as such:
$(window).resize(function() { ... });
However, it appears that if the person manually resizes their browser windows by dragging the window edge to make it larger/smaller, the .resize
event above fires multiple times.
Question: How to I call a function AFTER the browser window resize completed (so that the event only fires once)?
© Stack Overflow or respective owner