What I'm trying to do is give a div another class when the variable that i use to determine the width of that element exceeds a certain value. How can I add a class to the appropriate element when the value exceeds 70? As you can see the elements that belongs to the variable has the same name as ID.What I'm trying to do is give a div another cla