I’m trying to get a footer to stick to the bottom with jQuery but only if the document is shorter than the window.
I realize this is possible with some convoluted css, but I thought I’d give it a try with jQuery.
The code below works on Webkit and Firefox but not IE.
Thank you. I couldn’t get reliable results using the window height either, but I found that adding up the height of the other elements (#banner, Content, etc…) worked.