Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

destroy and rebuild one_page_scroll on ajax load content #339

Open
amitabhaghosh197 opened this issue Oct 15, 2018 · 0 comments
Open

destroy and rebuild one_page_scroll on ajax load content #339

amitabhaghosh197 opened this issue Oct 15, 2018 · 0 comments

Comments

@amitabhaghosh197
Copy link

Hi,
This is a great plugin and really a simple one. But I am stuck somewhere. Actually, I am developing a project wherein each section will be a call to action button which when clicked will modify the content with the content from a separate page of the relevant section through ajax load (XMLHttpRequest()) and on the changed content content there will be another button which when clicked will revert back to the previous section. These all are working fine. But somehow I need to destroy and re-build your plugin on ajax call. I have checked your source code but there I could not find any functions.
Could you please help me with any tips on how will I do those. I have also tried to $.removeData($element.get(0)); but I failed.

Thanks in advance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant