I am wondering why my last else if statement never gets executed. I am trying to do this:
$(document).ready(function() { function checkWidth() { var
It's because of your else if statements. You're checking with a single equal sign, which is assigning the value.
if ( windowSize = 480 && windowSize <= 719 )
when you should be doing
if ( windowSize == 480 && windowSize <= 719 )
or >=, if that's the intended logic.