SyntaxFix
Write A Post
Hire A Developer
Questions
Here is the non-jQuery way of tapping into the resize event:
window.addEventListener('resize', function(event){ // do stuff here });
It works on all modern browsers. It does not throttle anything for you. Here is an example of it in action.