Hello,
Is there a way to use JavaScript to push a page element (a DIV block,
for example) down the screen, so it sits at the bottom of the browser
window.
For example of a bad footer location:
http://www.simpy.com/user/angusprune
Note how the footer is very high up. Is there a way to push the DIV
that the footer is in to the bottom of the browser window?
In pseudocode:
if (where element Y coordinate is above <browser window bottom Y
coordinate>) {
move footer to browser window bottom Y coordinate
}
else {
leave footer where it is , as that means that the content of the page
already pushed it down
}
Is this doable? If anyone can paste any JS or point me to a good place
to learn how to do this, I'd be grateful.
Thanks!