php - Targeting with Javascript -


i developing website using popular fullpage.js framework .

see basic site: http://212.111.40.154/fullpage

problem

the slider default not automatically scroll through slides, following working code enable automatic scrolling on slides applies scrolling sliders on page.

there 2 slides in demo link above, need top slider scroll automatically second slider not scroll automatically.

code

how can code modified apply 1 instance of slider.

// automatic slider setinterval(function () {     $.fn.fullpage.moveslideright(); }, 3000); 

i'm sure others can benefit response, fullpage author add answer faq.

damn easy 1 :(

solution:

// automatic slider setinterval(function () {     $('#section0 .fp-controlarrow.fp-next').click(); }, 3000); 

Comments

Popular posts from this blog

java - nested exception is org.hibernate.exception.SQLGrammarException: could not extract ResultSet Hibernate+SpringMVC -

sql - Postgresql tables exists, but getting "relation does not exist" when querying -

asp.net mvc - breakpoint on javascript in CSHTML? -