One-page Scrolling with animations

Size
2,372 Kb
Views
50,600

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 Previews

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]); });
});
One-page Scrolling with animations - Script Codes
One-page Scrolling with animations - Script Codes
Home Page Home
Developer Bradley Engelhardt
Username SquishyAndroid
Uploaded August 13, 2022
Rating 3
Size 2,372 Kb
Views 50,600
Do you need developer help for One-page Scrolling with animations?

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!

Bradley Engelhardt (SquishyAndroid) Script Codes
Create amazing marketing copy 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!