Results 1 to 4 of 4
Dec 26, 2012, 15:56 #1
- Join Date
- Jan 2007
- 1 Post(s)
- 0 Thread(s)
jQuery :: Comparing page height and window height
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.
How can this be modified to work cross platform?
Last edited by eruna; Dec 26, 2012 at 15:59. Reason: Forgot to say thank you