我的代码无法实现呢
我的代码无法实现
我的代码无法实现
2017-04-11
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=no" />
<link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/fullPage.js/2.9.4/jquery.fullpage.css">
<title>无标题文档</title>
</head>
<body>
<div id="fullpage">
<div class="section"><h1>这是第一屏</h1></div>
<div class="section"><h1>这是第二屏</h1>
<div class="slide">slide1</div>
<div class="slide">slide2</div>
<div class="slide">slide3</div>
<div class="slide">slide4</div>
</div>
<div class="section"><h1>这是第三屏</h1></div>
<div class="section"><h1>这是第四屏</h1></div>
</div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/fullPage.js/2.9.4/jquery.fullpage.js"></script>
<script>
$(document).ready(function(){
$("#fullpage").fullpage({
sectionsColor:["gray","green","red","blue"],
controlArrows:false
});
})
</script>
</body>
</html>
举报