Closed another13 closed 10 years ago
The option autoScrolling is not for that purpose. If you read the documentation you will see the description of it:
autoScrolling: (default true) Defines whether to use the "automatic" scrolling or the "normal" one. It also has affects the way the sections fit in the browser/device window in tablets and mobile phones.
What you are looking for is not a functionality provided for the plugin but you can achieve it by using some of its callbacks and using the function setTimeout of javascript.
$.fn.fullpage({
slidesColor: ['red', 'blue'],
afterLoad: function (anchor, index) {
setTimeout(function(){
$.fn.fullpage.moveSectionDown();
}, 1000);
},
afterRender: function(){
setTimeout(function(){
$.fn.fullpage.moveSectionDown();
}, 1000);
}
});
escolhadigital http://www.escolhadigital.com
Hello,
It works just fine.
Thanks.
Sem outro assunto,
apresento os melhores cumprimentos.
Joel Rocha
Escolha Digital
Rua de Cedofeita 455 4 andar Porta 37
4050-181 Porto, Portugal
Joel Rocha
joelrocha@escolhadigital.com mailto:joelrocha@escolhadigital.com
T. +351 222 033 069
M. +351 924 397 698
Poupe papel. Antes de imprimir este e-mail pense bem se tem mesmo que o fazer. Há cada vez menos árvores.
Nota
Esta mensagem de correio electrónico e qualquer dos seus ficheiros anexos, caso existam, são confidenciais e destinados apenas à(s) pessoa(s) ou entidade(s) acima referida(s), podendo conter informação confidencial, privilegiada, a qual não deverá ser divulgada, copiada, gravada ou distribuída nos termos da lei vigente. Se não é o destinatário da mensagem, ou se ela lhe foi enviada por engano, agradecemos que não faça uso ou divulgação da mesma. A distribuição ou utilização da informação nela contida é interdita. Se recebeu esta mensagem por engano, por favor avise-nos de imediato, por correio electrónico, para o endereço acima e apague este e-mail do seu sistema. Obrigado.
Disclaimer
This e-mail transmission and eventual attached files are intended only for the use of the use of the individual or entity named above and may contain information that is confidential, privileged and exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of any of the information contained in this transmission is strictly voided. If you have received this transmission in error, please immediately notify us by e-mail at the above address and delete this e-mail from your system. Thank you.
Em 07/04/2014 20:46, alvarotrigo escreveu:
The option autoScrolling is not for that purpose. If you read the documentation you will see the description of it:
autoScrolling: (default true) Defines whether to use the "automatic" scrolling or the "normal" one. It also has affects the way the sections fit in the browser/device window in tablets and mobile phones.
What you are looking for is not a functionality provided for the plugin but you can achieve it by using some of its callbacks and using the function setTimeout of javascript.
Live demo http://jsfiddle.net/97tbk/84/
$.fn.fullpage({ slidesColor: ['red', 'blue'], afterLoad: function (anchor, index) { setTimeout(function(){ $.fn.fullpage.moveSectionDown();
}, 1000); }, afterRender: function(){ setTimeout(function(){ $.fn.fullpage.moveSectionDown();
}, 1000); } });— Reply to this email directly or view it on GitHub https://github.com/alvarotrigo/fullPage.js/issues/356#issuecomment-39774717.
Hello,
I'm trying to make the horizontal slide srolling automatically. I try everything without sucess.
Can you help?
Thanks, JR