Windows
Strona wtyczki
Oficjalna witryna wtyczki
Zobacz więcej
Windows
Strona wtyczki: | Strona wtyczki |
Instalacja
- CSS
- HTML
- JS
.window{
width:100%;
height:100%;
position:absolute;
}
<section class="window"></section>
<section class="window"></section>
<section class="window"></section>
<section class="window"></section>
<section class="window"></section>
$('.window').windows({
snapping: true,
snapSpeed: 500,
snapInterval: 1100,
onScroll: function(scrollPos){
// scrollPos:Number
},
onSnapComplete: function($el){
// after window ($el) snaps into place
},
onWindowEnter: function($el){
// when new window ($el) enters viewport
}
})