Footer concept

2,210 Kb

How do I make an footer concept?

Just concept of footer, showing when you approach the end of the page; Scroll to bottom to see it showing . What is a footer concept? How do you make a footer concept? This script and codes were developed by Chrysto on 16 July 2022, Saturday.

Footer concept Previews

Footer concept - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Footer concept</title> <script src="" type="text/javascript"></script> <link rel="stylesheet" href=""> <link rel="stylesheet" href="css/style.css">
<body> <div class="holder"></div> <footer> <div class="footer__inner"></div> </footer> <script src=''></script> <script src="js/index.js"></script>

Footer concept - Script Codes CSS Codes

html,body {	margin:0;	padding:0;
*,:before,:after {	box-sizing:border-box;
.holder {	min-height:2000px;
footer {	overflow:hidden;
.footer__inner {	height:400px;	background-color:#add8e6;	-webkit-transition:-webkit-transform .5s;	transition:-webkit-transform .5s;	transition:transform .5s;	transition:transform .5s, -webkit-transform .5s;	-webkit-transform:translateY(100%); transform:translateY(100%);
.footer__inner--visible {	-webkit-transform:translateY(0); transform:translateY(0);

Footer concept - Script Codes JS Codes

$(function() {	var $body = $("body");	var $window = $(window);	var $footerInner = $(".footer__inner");	var footerVisibleClass = "footer__inner--visible";	var footerIsHidden = true;	var footerTolerance = 150; //how many pixels from end to show the footer	var togglePont;	var windowHeight;	$window.on("resize", function() {	togglePont = $body.height() - footerTolerance;	windowHeight = $window.height();	}).trigger("resize");	$window.on("scroll", onScroll);	function onScroll() {	var scrollBottom = windowHeight + $window.scrollTop();	if (scrollBottom >= togglePont) {	if (footerIsHidden) {	footerIsHidden = false;	$footerInner.addClass(footerVisibleClass);	}	} else {	if (!footerIsHidden) {	footerIsHidden = true;	$footerInner.removeClass(footerVisibleClass);	}	}	} //end onScroll
Footer concept - Script Codes
Footer concept - Script Codes
Home Page Home
Developer Chrysto
Username bassta
Uploaded July 16, 2022
Rating 3
Size 2,210 Kb
Views 56,672
Do you need developer help for Footer concept?

Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!

Chrysto (bassta) Script Codes
Create amazing blog posts with AI!

Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!