Reputation: 73
I'm trying to keep the nav on the bottom of the page while being able to show it and hide it. For some reason I can't for the life of me figure out why this isn't working.
Any help would be appreciated!
EDIT: The toggle is fixed but now I'm having troubles with the fluidity. When I use the toggle the boxes are not at the same speed.
Code: http://jsfiddle.net/Hg2ax/2/
$(document).ready(function() {
$('.toggle-footer').click(function() {
$('#footer-content').slideToggle('slow');
});
});
Upvotes: 0
Views: 1877
Reputation: 1108
Looks like you can just take the height off of your footer css.
footer {
width: 100%;
position: absolute;
bottom: 0;
}
Upvotes: 1