Home > front end >  Be urgent! Be urgent! Be urgent! Fullpage js2.5.4 when browsing on the computer, don't move the
Be urgent! Be urgent! Be urgent! Fullpage js2.5.4 when browsing on the computer, don't move the

Time:12-15

Excuse me each great god, and when using fullpage in my computer here and other no problem at all, but see will appear with the client computer automatic page, without moving the mouse keyboard pages themselves directly, beg god help!! This several days, they always appear such problem!! Is my version is too low
Here is my code, and I don't know what happened, always auto flip, a great god see help!
 $(function () {
The $(document) on (' mousemove ', function () {}, false)

$(' # dowebok). Fullpage ({
SectionsColor: [' # 000 ', '# FFF', '# FFF', '# FFF', '# FFF],
//anchors: [' page1 ', 'page2', 'page3', 'page4', 'page5],
//scrollOverflow: true,
SlidesNavigation: true,
LoopBottom: false,
RecordHistory: false,
KeyboardScrolling: false,
//much: 'easeInOutCubic',
//continuousHorizontal: true,
AfterLoad: function (anchors, index) {
If (index==1) {
$('. The menu,. The logo '). The addClass (' page1m ');
$(' phonemenu '). AddClass (' p - m - page1)
$(') pagenum) pageline span '). The CSS ({' height ':' 20 px})
$(' # pageid '). The text (' 1 ');
$(' # dowebok). CSS ({" margin - the top ": the '0'});
}
If (index==2) {
$(') pagenum) pageline span '). The CSS ({' height ':' 40 px})
$(' # pageid '). The text (' 2 ');
}
If (index==3) {
$(') pagenum) pageline span '). The CSS ({' height ':' 60 px})
$(' # pageid '). The text (' 3 ');
$('. The page3 - ul. Boxcolor '). The addClass (' open ')
}
If (index==4) {
$(') pagenum) pageline span '). The CSS ({' height: "80 px"})
$(' # pageid '). The text (' 4 ');
$(' page4 - bgcolor '). The addClass (' open ')

}
If (index==5) {
$(') pagenum) pageline span '). The CSS ({' height: "100 px"})
$(' # pageid '). The text (' 5 ');
}
},
OnLeave: function (index, direction) {
If (index==1) {
$('. The menu,. The logo '). RemoveClass (' page1m ');
$(' # dowebok). CSS ({" margin - top: "' - 1 px});
$(' phonemenu '). RemoveClass (' p - m - page1)
}
}

});
//setInterval (function () {
//$fn. Fullpage. MoveSlideRight ();
//}, 3000);
});
  • Related