JavaScript window resize event -


how can hook browser window resize event?

there's a jquery way of listening resize events prefer not bring project 1 requirement.

jquery wrapping standard resize dom event, eg.

window.onresize = function(event) {     ... }; 

jquery may work ensure resize event gets fired consistently in browsers, i'm not sure if of browsers differ, i'd encourage test in firefox, safari, , ie.


Comments

Popular posts from this blog

qt - Using float or double for own QML classes -

Create Outlook appointment via C# .Net -

ios - Swift Array Resetting Itself -