Hi everyone, I'm trying to figure out a way to add a class only if the
browser is resized by the user at less then 1000px


This is what i have going right now.

$(function(){
$(window).width('width','100%');
 $('body').css('width','w < 1000px');
$("body").addClass("no_border");
        });


as of now the class of no_border is added to the bofy at any width,
like I mentionned above i only need thsi class to be applied if the
user or if the window is at less then 1000px


Thanks for taking the time

Reply via email to