One-page Scrolling with animations
How do I make an one-page scrolling with animations?
Using alvarotrigo's fullpage.js, alongside wow.js and animate.css to create a onepage scrolling site.. What is a one-page scrolling with animations? How do you make a one-page scrolling with animations? This script and codes were developed by Bradley Engelhardt on 13 August 2022, Saturday.
One-page Scrolling with animations - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>One-page Scrolling with animations</title> <title>One page scroll</title> <meta name="description" content="one page scrolling for websites">
<link href='http://fonts.googleapis.com/css?family=Raleway:100,200,400,600' rel='stylesheet' type='text/css'> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel='stylesheet prefetch' href='https://cdnjs.cloudflare.com/ajax/libs/fullPage.js/2.7.4/jquery.fullPage.min.css'>
<link rel='stylesheet prefetch' href='https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css'>
<link rel='stylesheet prefetch' href='https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css'>
<link rel='stylesheet prefetch' href='https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.5.2/animate.min.css'> <link rel="stylesheet" href="css/style.css">
</head>
<body> <container id="fullpage"> <section> <div class="wow fadeInLeft"> Slide 1</div> </section> <section> <div class="wow fadeInRight">Slide 2</div> </section> <section> <div class="wow fadeInLeft">Slide 3</div> </section> <section> <div class="wow fadeInRight">Slide 4</div> </section>
</container> <script src='https://cdnjs.cloudflare.com/ajax/libs/jquery/3.1.0/jquery.min.js'></script>
<script src='https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/js/bootstrap.min.js'></script>
<script src='https://cdnjs.cloudflare.com/ajax/libs/fullPage.js/2.7.4/jquery.fullPage.min.js'></script>
<script src='https://cdnjs.cloudflare.com/ajax/libs/wow/1.1.2/wow.min.js'></script> <script src="js/index.js"></script>
</body>
</html>
One-page Scrolling with animations - Script Codes CSS Codes
section { font-size: 35px; text-align: center; color: white; font-weight: bold; font-family: 'Raleway', sans-serif;
}
One-page Scrolling with animations - Script Codes JS Codes
$(document).ready(function() { //activate wow.js new WOW().init(); //activate fullpage.js $('#fullpage').fullpage({ scrollBar: true, navigation: true, navigationTooltips: ['Slide 1', 'Slide 2', 'Slide 3', 'Slide 4'], loopBottom: true, sectionSelector: 'section' }); //apply color to each section from array int = -1; color_array = ['#1abc9c','#c0392b','#9b59b6','#3498db','#f1c40f','#16a085']; $('section').each(function(){ int++ $(this).addClass('grid-item-' + int).css('background-color', color_array[int]); });
});
Developer | Bradley Engelhardt |
Username | SquishyAndroid |
Uploaded | August 13, 2022 |
Rating | 3 |
Size | 2,372 Kb |
Views | 50,600 |
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!
Name | Size |
Bootstrap Carousel | 2,215 Kb |
Codecademy Flipboard | 3,793 Kb |
Comment Jquery | 2,421 Kb |
Simple parallax scroll | 2,325 Kb |
Giphy API Random Gif Selector | 2,636 Kb |
20 Die | 2,944 Kb |
Local Storage | 1,709 Kb |
Coin Flip | 2,142 Kb |
Personal Webpage | 8,067 Kb |
Embedded video header | 2,670 Kb |
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!
Name | Username | Size |
Lazy Load for Background Images | The_ruther4d | 2,977 Kb |
Polo, the flying squirrel | Agbales | 2,445 Kb |
Toggling Divs with jQuery | Yying6 | 1,967 Kb |
Particle Motion trajectories | Sniejadlik | 5,899 Kb |
Welcome | Nakome | 6,076 Kb |
React JS Movie Info App | MTushar | 4,870 Kb |
Hc first draft | Stepfray | 5,104 Kb |
Reviews and Ratings Star | Zbnmstry | 1,591 Kb |
HTM5 picture dropzone | Jaysalvat | 2,576 Kb |
Spin | Elalemanyo | 8,262 Kb |
Surf anonymously, prevent hackers from acquiring your IP address, send anonymous email, and encrypt your Internet connection. High speed, ultra secure, and easy to use. Instant setup. Hide Your IP Now!