-
Notifications
You must be signed in to change notification settings - Fork 7.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #221 from mlhDevelopment/continuousVertical
-Added new feature: continuous vertical scrolling by using the option `continuousVertical`
- Loading branch information
Showing
12 changed files
with
289 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,82 @@ | ||
<!DOCTYPE html> | ||
<html xmlns="https://www.w3.org/1999/xhtml"> | ||
|
||
<head> | ||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | ||
<title>Continuous Scroll - fullPage.js</title> | ||
<meta name="author" content="Matthew Howell" /> | ||
<meta name="description" content="fullPage continuous scrolling demo." /> | ||
<meta name="keywords" content="fullpage,jquery,demo,scroll,loop,continuous" /> | ||
<meta name="Resource-type" content="Document" /> | ||
|
||
|
||
<link rel="stylesheet" type="text/css" href="../jquery.fullPage.css" /> | ||
<link rel="stylesheet" type="text/css" href="demoPage.css" /> | ||
|
||
<!--[if IE]> | ||
<script type="text/javascript"> | ||
var console = { log: function() {} }; | ||
</script> | ||
<![endif]--> | ||
|
||
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script> | ||
<script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.9.1/jquery-ui.min.js"></script> | ||
|
||
<script type="text/javascript" src="../jquery.fullPage.js"></script> | ||
<script type="text/javascript" src="examples.js"></script> | ||
<script type="text/javascript"> | ||
$(document).ready(function() { | ||
var pepe = $.fn.fullpage({ | ||
slidesColor: ['#1bbc9b', '#4BBFC3', '#7BAABE', 'whitesmoke', '#ccddff'], | ||
anchors: ['firstPage', 'secondPage', '3rdPage', '4thpage', 'lastPage'], | ||
menu: '#menu', | ||
continuousVertical: true | ||
}); | ||
}); | ||
</script> | ||
|
||
</head> | ||
<body> | ||
|
||
|
||
<select id="demosMenu"> | ||
<option id="background" selected>Choose Demo</option> | ||
<option id="background">Background Images</option> | ||
<option id="looping">Looping</option> | ||
<option id="noAnchor">No anchor links</option> | ||
<option id="scrollingSpeed">Scrolling speed</option> | ||
<option id="easing">Easing</option> | ||
<option id="callbacks">Callbacks</option> | ||
<option id="css3">CSS3</option> | ||
<option id="continuous">Continuous scrolling</option> | ||
</select> | ||
|
||
|
||
<ul id="menu"> | ||
<li data-menuanchor="firstPage" class="active"><a href="#firstPage">First slide</a></li> | ||
<li data-menuanchor="secondPage"><a href="#secondPage">Second slide</a></li> | ||
<li data-menuanchor="3rdPage"><a href="#3rdPage">Third slide</a></li> | ||
</ul> | ||
|
||
|
||
<div class="section " id="section0"> | ||
<h1>fullPage.js</h1> | ||
<p>Continuous Scrolling Enabled</p> | ||
<img src="imgs/fullPage.png" alt="fullPage" /> | ||
</div> | ||
<div class="section" id="section1"> | ||
<div class="intro"> | ||
<h1>Around the world scrolling</h1> | ||
<p>Go to the first section and scroll up or to the last one and scroll down to see how it works.</p> | ||
</div> | ||
</div> | ||
<div class="section" id="section2"> | ||
<div class="intro"> | ||
<h1>Scroll Down</h1> | ||
<p>And it will animate down to the first section</p> | ||
</div> | ||
</div> | ||
|
||
|
||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
<!DOCTYPE html> | ||
<html xmlns="https://www.w3.org/1999/xhtml"> | ||
|
||
<head> | ||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | ||
<title>CSS3 - fullPage.js</title> | ||
<meta name="author" content="Alvaro Trigo Lopez" /> | ||
<meta name="description" content="fullPage.js using CSS3 transformations." /> | ||
<meta name="keywords" content="fullpage,jquery,anchor,links,inside,demo,css,css3" /> | ||
<meta name="Resource-type" content="Document" /> | ||
|
||
|
||
<link rel="stylesheet" type="text/css" href="../jquery.fullPage.css" /> | ||
<link rel="stylesheet" type="text/css" href="demoPage.css" /> | ||
|
||
<!--[if IE]> | ||
<script type="text/javascript"> | ||
var console = { log: function() {} }; | ||
</script> | ||
<![endif]--> | ||
|
||
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script> | ||
<script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.9.1/jquery-ui.min.js"></script> | ||
|
||
<script type="text/javascript" src="../jquery.fullPage.js"></script> | ||
<script type="text/javascript" src="examples.js"></script> | ||
<script type="text/javascript"> | ||
$(document).ready(function() { | ||
var pepe = $.fn.fullpage({ | ||
slidesColor: ['#1bbc9b', '#4BBFC3', '#7BAABE'], | ||
css3: true, | ||
fixedElements: "#demosMenu" | ||
}); | ||
}); | ||
</script> | ||
|
||
</head> | ||
<body> | ||
|
||
|
||
<select id="demosMenu"> | ||
<option id="background" selected>Choose Demo</option> | ||
<option id="background">Background Images</option> | ||
<option id="looping">Looping</option> | ||
<option id="noAnchor">No anchor links</option> | ||
<option id="scrollingSpeed">Scrolling speed</option> | ||
<option id="easing">Easing</option> | ||
<option id="callbacks">Callbacks</option> | ||
<option id="css3">CSS3</option> | ||
<option id="continuous">Continuous scrolling</option> | ||
</select> | ||
|
||
|
||
<div class="section " id="section0"> | ||
<h1>fullPage.js</h1> | ||
<p>CSS3</p> | ||
<img src="imgs/fullPage.png" alt="fullPage" /> | ||
</div> | ||
<div class="section" id="section1"> | ||
<div class="intro"> | ||
<h1>Speed on mobile</h1> | ||
<p> | ||
If CSS3 transforms are supported (e.g. on mobile devices) they will be used for animations, usually a good | ||
choice if the animation on mobile devices is slow. | ||
</p> | ||
</div> | ||
</div> | ||
<div class="section" id="section2"> | ||
<div class="intro"> | ||
<h1>No CSS3? No problem!</h1> | ||
<p>If CSS3 is not available, animations will fall back to jQuery animate.</p> | ||
</div> | ||
</div> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.