Skip to content

DEPRECATED / JQ-LIB: A jQuery library to push your footer to the bottom of your responsive dynamic height page.

License

Notifications You must be signed in to change notification settings

eustasy-archive/jQuery.downBoy

Repository files navigation

jQuery.downBoy

Deprecated: You should probably be using Flexbox or Grid in CSS instead.

A small jQuery plugin to push your footer to the bottom of your responsive dynamic height page.

Normal Maintainability jsDelivr

Implementation

Run on footer element.

<script src="https://cdn.jsdelivr.net/gh/eustasy/[email protected]/jquery.downboy.auto.min.js" integrity="sha256-gblkF/eHYhPMM+XZ1weVZuXsdF2HyRUCqCmSvvRVfcM=" crossorigin="anonymous"></script>

Run on custom element, such as #footer.

<script src="https://cdn.jsdelivr.net/gh/eustasy/[email protected]/jquery.downboy.min.js" integrity="sha256-x2jMLmtp0NhzmpxjZ9AnCBTmdCP3za4/fZJimVYwYeE=" crossorigin="anonymous"></script>
<script>
 	$(function() {
		downBoy('#footer'); // Run on load
		window.onresize = function() { // On Resize
			downBoy('#footer'); // Run Again
		};
	});
</script>

About

DEPRECATED / JQ-LIB: A jQuery library to push your footer to the bottom of your responsive dynamic height page.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published