I have function like this:
test() $(window).resize(test) function test() { if($(window).width() < 700) { //load my function only for the view <