Jquery Constant Footer
My jQuery plugins were created either as experiments or to fulfil some need that I had on a project. I made the plugins available for free on this website - and you can still get them all here now.
I no longer actively support the jQuery plugins for the following reasons...
- Many of the features can now be achieved without JavaScript using new features of HTML and CSS
- Some of the features probably shouldn't even have been used, they were just experiments!
- Not everyone wants to use jQuery - I will create stand alone plugins for the popular stuff that don't enforce any particular framework
Quick Links
Want a constant footer without having to include a framework or library - I have a stand alone Constant Footer plugin listed on my JavaScript page!
Visit the jQuery constant footer project hub, which has a demonstration and download for this plugin on JS Plugins JavaScript Plugin Library.
Constant Footer Demonstration.
Description
The jQuery Constant Footer project is a plugin for the jQuery JavaScript Framework, which glues a footer to the bottom of the browser window. It can also optionally display a scroll of articles from an RSS feed on the same domain.
Requirements
CSS
/* Optional styles */
#footer {
background-color: Black;
color: #F2F0F0;
font-size: 0.6em;
}
#footer .item {
width: 90%;
margin: 0 auto;
}
#footer .description {
height: 7.5em;
line-height: 1.5em;
overflow: hidden;
}
#footer a {
color: Yellow;
}
#footer a:hover {
color: Green;
}
JavaScript
$("#footer").constantfooter();
With all options set:
$("#footer").constantfooter({
"classmodifier": "constantfooter",
"feedlink": "Read more »",
"opacity": "0.8",
"closebutton": "[x]",
"feed": "http://www.stevefenton.co.uk/RSS/Blog/",
"showclose": "true"
});