Closed jimmynotjim closed 11 years ago
Thank you for maintaining this project. Does this fix the issue if the DOM updates the scrollNav plugin also resets?
@michael-benin-CN Nope, updating the DOM is going to be on you. I don't want to add complexity or additional file size by having to monitor the target elements content. When you script in the changes to update the DOM, you should destroy scrollNav just prior, and re-init after the DOM change. The custom callback functions and the new destroy method should provide you plenty of options for doing this.
v2.1 adds support for public methods, a new destroy method, custom callbacks for init, render and destroy, and small bugfixes.
div
test:browser
task to only run in the browser