nckprsn / scrollme

A jQuery plugin for adding simple scrolling effects to web pages.
1.47k stars 318 forks source link

Problem with Ajax getting content #26

Open SCLeoX opened 9 years ago

SCLeoX commented 9 years ago

All my website content is get from Ajax. Which means it only loads the framework of the site and gradually get the data inside. However, Scrollme cannot work with it. It seems only load one time at document ready. I need it to bind with jQuery's after() append() before() etc... So when I use this functions to add some new content, it will work.

IT IS NOT A FEATURE, IT IS A BUG!!!

Anyway, nice work, thanks!

SCLeoX commented 9 years ago

Alright, I am too silly that I did not see that issue about dynamic website. So my suggestion is to put everything apart from class and attributes.

Like this kind will be very good:

$(".Picture").bindScrollme({when: "view", from: "0.6" , to: "1" rotatey: "90"}); $(".Picture").unbingScrollme();