Skip to content

hwlv/myplugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fullPage.js

自己参照网上教程写了一个,加了注释。主要是练习造轮子的能力,需求是不断变化的只拿来用的话谁都会,只有掌握了核心的技术,遇到复杂的需求才不会犯难。以后会按照官网逐渐完善其他功能。欢迎star。

preview

使用方法

<script src="js/fullpage.js"></script>
<div id="container" data-PageSwitch="">
    <div class="sections">
        <div class="section" id="section0">page321</div>
        <div class="section" id="section1"></div>
        <div class="section" id="section2"></div>
        <div class="section" id="section3"></div>
    </div>
</div>
    $('#container').PageSwitch({
        direction:'vertical',//horizontal,vertical
        loop:true,
        easing:'ease-in-out',
        duration:'700'
    });

赏一杯咖啡给小编。

preview

About

my plugin collection

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published