title: JavaScript onresize event fires multiple times
body: <p>I'm having some trouble trying running a function only once when onresize event is triggered, I have looked at this questions <a href="https://stackoverflow.com/questions/1500312/javascript-onresize-event">DOM onresize event</a> but I'm not using jQuery and can't get that function to work without. Any suggestions? </p>