pixelcog / parallax.js

Simple parallax scrolling effect inspired by Spotify.com implemented as a jQuery plugin
MIT License
3.53k stars 838 forks source link

re-initialize with html markup / put content back in parallax-window on destroy #211

Open wstoettinger opened 7 years ago

wstoettinger commented 7 years ago

Currently re-initializing after destroying only works when using data-attributes. It would be nice to make this work with the html markup as well.

This could be realized by putting the parallax-slide back in the parallax-window on destroy.

@mikegreiling any suggestions? objections?

194 #168