Skip to content Skip to sidebar Skip to footer

Jquery Resize Document Height

I'm having a little trouble with my jQuery/JS code. Whenever the window resizes, the 'stretch' function should be run. Now, I tried this: function stretch() { var stretch_elem

Solution 1:

Just fixed it. Had to add stretch_elem.height(0); before setting the new height. Didn't think I needed to do that. But it's working now.


Post a Comment for "Jquery Resize Document Height"