Home › Forums › JavaScript › jQuery Window Resize (do this when window is resized to this width) › Re: jQuery Window Resize (do this when window is resized to this width)
October 14, 2012 at 5:30 pm
#111831
Senff
Participant
window.onresize = function(event) {
viewportwidth = $(window).width();
if (viewportwidth<700) {
// some jquery stuff here;
}
}