为了账号安全,请及时绑定邮箱和手机立即绑定

scrollOverflow

<!DOCTYPE html>


<html>


<head>


<meta charset="UTF-8">


<title>fullpage.js插件测试</title>


<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/fullPage.js/2.9.6/jquery.fullpage.css" />


<style>


.section3{font-size: 14px;}


</style>


</head>


<body>


<!--<ul id="fullpageMenu">


这是一个头部的导航栏 在css中设置定位在jquery中设置menu:'fullpageMenu'即可


<li data-menuanchor="page1" class="active"><a href="#page1">1 section</a></li>


<li data-menuanchor="page2" class="active"><a href="#page2">2 section</a></li>


<li data-menuanchor="page3" class="active"><a href="#page3">3 section</a></li>


<li data-menuanchor="page4" class="active"><a href="#page4">4 section</a></li>


</ul>-->


<!--给section的div加上active则是定义首页-->


<div id="fullpage">


<div class="section">第一屏</div>


<div class="section">


<div class="slide">silde1</div>


<div class="slide">silde2</div>


<div class="slide">silde3</div>


<div class="slide">silde4</div>


</div>


<div class="section">


<h1>第三屏</h1>


<p>aaaaaaaaaaaaaaaaaaaaaa</p>


<p>aaaaaaaaaaaaaaaaaaaaaa</p>


<p>aaaaaaaaaaaaaaaaaaaaaa</p>


<p>aaaaaaaaaaaaaaaaaaaaaa</p>


<p>aaaaaaaaaaaaaaaaaaaaaa</p>


<p>aaaaaaaaaaaaaaaaaaaaaa</p>


<p>aaaaaaaaaaaaaaaaaaaaaa</p>


<p>aaaaaaaaaaaaaaaaaaaaaa</p>


<p>aaaaaaaaaaaaaaaaaaaaaa</p>


<p>aaaaaaaaaaaaaaaaaaaaaa</p>


<p>aaaaaaaaaaaaaaaaaaaaaa</p>


<p>aaaaaaaaaaaaaaaaaaaaaa</p>


<p>aaaaaaaaaaaaaaaaaaaaaa</p>


<p>aaaaaaaaaaaaaaaaaaaaaa</p>


<p>aaaaaaaaaaaaaaaaaaaaaa</p>


<p>aaaaaaaaaaaaaaaaaaaaaa</p>


<p>aaaaaaaaaaaaaaaaaaaaaa</p>


<p>aaaaaaaaaaaaaaaaaaaaaa</p>


<p>aaaaaaaaaaaaaaaaaaaaaa</p>


<p>aaaaaaaaaaaaaaaaaaaaaa</p>


<p>aaaaaaaaaaaaaaaaaaaaaa</p>


<p>aaaaaaaaaaaaaaaaaaaaaa</p>


<p>aaaaaaaaaaaaaaaaaaaaaa</p>


<p>aaaaaaaaaaaaaaaaaaaaaa</p>


<p>aaaaaaaaaaaaaaaaaaaaaa</p>


<p>aaaaaaaaaaaaaaaaaaaaaa</p>


<p>aaaaaaaaaaaaaaaaaaaaaa</p>


<p>aaaaaaaaaaaaaaaaaaaaaa</p>


<p>aaaaaaaaaaaaaaaaaaaaaa</p>


<p>aaaaaaaaaaaaaaaaaaaaaa</p>


<p>aaaaaaaaaaaaaaaaaaaaaa</p>


<p>aaaaaaaaaaaaaaaaaaaaaa</p>


<p>aaaaaaaaaaaaaaaaaaaaaa</p>


<p>aaaaaaaaaaaaaaaaaaaaaa</p>


<p>aaaaaaaaaaaaaaaaaaaaaa</p>


<p>aaaaaaaaaaaaaaaaaaaaaa</p>


<p>aaaaaaaaaaaaaaaaaaaaaa</p>


<p>aaaaaaaaaaaaaaaaaaaaaa</p>


<p>aaaaaaaaaaaaaaaaaaaaaa</p>


<p>aaaaaaaaaaaaaaaaaaaaaa</p>


<p>aaaaaaaaaaaaaaaaaaaaaa</p>


<p>aaaaaaaaaaaaaaaaaaaaaa</p>


<p>aaaaaaaaaaaaaaaaaaaaaa</p>


<p>aaaaaaaaaaaaaaaaaaaaaa</p>


<p>aaaaaaaaaaaaaaaaaaaaaa</p>



</div>


<div class="section">





</div>


</div>



<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.js"></script>


<script src="https://cdnjs.cloudflare.com/ajax/libs/fullPage.js/2.9.6/jquery.fullpage.js"></script>


<script src="https://cdnjs.cloudflare.com/ajax/libs/jQuery-slimScroll/1.3.8/jquery.slimscroll.js"></script>


<script>


$(document).ready(function(){


$('#fullpage').fullpage({


sectionsColor:['cadetblue','#FFCC00','bisque','chartreuse'],


scrollOverflow:true, 


});


});






</script>



</body>


</html>


正在回答

1 回答

没有用啊

,这是为什么啊


0 回复 有任何疑惑可以回复我~

举报

0/150
提交
取消
FullPage.js全屏滚动插件
  • 参与学习       43827    人
  • 解答问题       202    个

基于jQuery的全屏滚动效果插件,让翻页显得格外的高端大气上档次

进入课程

scrollOverflow

我要回答 关注问题
意见反馈 帮助中心 APP下载
官方微信