fullPage.js  (页面全屏滚动)

必须依赖 jquery-ui.min.js,   233K

14760个星。 以后有时间再看。 API挺全

https://github.com/alvarotrigo/fullPage.js   官网    英国 ,Álvaro开发的

http://www.uedsc.com/fullpage.html  API  这页有广告,不过有中文说明,凑合看看吧。

http://www.dowebok.com/77.html

<script type="text/javascript" src="http://cdn.bootcss.com/jquery/1.11.2/jquery.min.js"></script>
<script src="http://cdn.bootcss.com/jqueryui/1.11.1/jquery-ui.min.js"></script>
<link href="http://cdn.bootcss.com/fullPage.js/2.8.1/jquery.fullPage.min.css" rel="stylesheet">
<script src="http://cdn.bootcss.com/fullPage.js/2.8.1/jquery.fullPage.min.js"></script>
<!--
<link href="http://cdn.bootcss.com/fullPage.js/2.8.1/jquery.fullPage.css" rel="stylesheet">
<script src="http://cdn.bootcss.com/fullPage.js/2.8.1/jquery.fullPage.js"></script>
-->
<style>
.section {text-align:center;font:50px "Microsoft Yahei";color:#fff;}
</style>
<script>
$(function(){
$('#fullpage').fullpage({
sectionsColor: ['#1bbc9b', '#4BBFC3', '#7BAABE'],
anchors: ['firstPage', 'secondPage', '3rdPage'],
//menu: '#menu',
loopTop: true
//loopBottom: true
});
});
</script>
<div id="fullpage">
<div class="section " id="section0">
<h1>fullPage.js</h1>
<p>Looping Top and Bottom Enabled</p>
</div>
<div class="section" id="section1">
<h1>Looping!</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 class="section" id="section2">
<h1>Scroll Down</h1>
<p>And it will loop to the first section</p>
</div>
</div>

...

最新文章

  1. 基于pcDuino-V2的无线视频智能小车
  2. 调用WCF不需要添加服务引用,使用一个WCFHelper类就可以
  3. 在GridView隐藏字段
  4. 转载---linux运维相关
  5. BZOJ 2535 Plane 航空管制2
  6. 关于ios::sync_with_stdio(false)
  7. C#多线程之异步编程
  8. EventBus 3.0使用相关
  9. DB2 Rename SQL0108N错误
  10. 背水一战 Windows 10 (43) - C# 7.0 新特性
  11. SQL Server 数据库基础知识
  12. zabbix服务快速搭建指南
  13. day23&lt;File类递归练习&gt;
  14. C#和Java访问修饰符的比较
  15. adb not responding的解决方案
  16. jQuery Lightbox效果插件Boxer
  17. 适用于iOS6之后的苹果提供的下拉刷新
  18. 【C#】特性标签中的属性解释
  19. 重构指南 - 引入参数对象(Introduce Parameter Object)
  20. MSSQL grant权限

热门文章

  1. innobackupex per table
  2. Cygwin使用2-心得
  3. MQTT 3.1.1,值得升级的6个新特性
  4. windows服务命令 转载
  5. elixir环境配置
  6. vi快捷键使用大全
  7. [LeedCode]921. 使括号有效的最少添加
  8. 使用Selenium模拟浏览器抓取淘宝商品美食信息
  9. 【IIS错误 - HTTP 错误 500.19】HTTP 错误 500.19- Internal Server Error 错误解决方法(二)
  10. PAT 乙级 1049 数列的片段和(20) C++版