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);
});