Skip to Navigation or
Skip to Content

Jquery Constant Footer

Jquery Constant FooterQuick Links

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"
});

 

You Are Here: Home » JavaScript » Constant Footer

 

I use a cookie on this website. This cookie doesn't contain or relate to any personal information and it isn't shared with any other website, it just ensures that I don't count you more than once in my website statistics. The Privacy and Electronic Communications Regulations require me to ask your permission to use this cookie, so please indicate below that you are happy for me to do this - I will remember your selection with a cookie, so if you accept I won't ask again...