alvarotrigo / alvarotrigo/pagePiling.js
Dynamically Add Section or Return to Section
- Ngôn ngữ chính
- JavaScript
- Star
- 4.1k
- Fork
- 633
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
Hey @alvarotrigo ! I'd like to recreate a similar situation as this [add/remove slides after init](https://stackoverflow.com/questions/36626527/adding-or-removing-sections-slides-to-fullpage-js-after-initialization/36643702#36643702).
To give you some background:
I'm using pagePiling.js to navigate up and down on my 'homepage' slides. If the user clicks certain buttons, they navigate to the right on a different URL. Because of this I'm destroying PP and I would like to reinitialize with the last section that was 'active'. I currently can use the afterRender callback to slide the user down to the certain slide, but I'd like the last active slide to be the slide set with the highest z-index so it 'starts' from this.
Any ideas on how to leverage active index and reinitialize PP in this way?
Thanks!
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Đánh giá
Issue này chưa được đánh giá.