…oder hätte ihr andere Lösungsvorschläge.
Ja, doch wozu das gut sein soll bleibt mir ein Rätsel.
footer.no {
display: none;
}
footer.yes {
display: block;
}
window.onscroll = function() {
var bottom = document.getElementsByTagName('body')[0].offsetHeight - document.documentElement.clientHeight,
foo = document.getElementById('menu_fixed');
foo.className = (pageYOffset >= bottom ) ? 'yes' : 'no';
};