I’m using getScript to fire a script when jquery has finished loading.
$(document).ready(function() {
$.getScript("js/hscroll.js");
});
And when a project is complete I can create other functions with:
$(document).bind("projectLoadComplete", function(e, pid){
// turn off script
});
How can I turn off hscroll.js script when a project has loaded?
Thanks
If your hsrcoll.js code is this one, then it has initialization code like this:
That means you can deinstall it with this:
If this isn’t your hscroll.js, then please post a reference to the one you’re using so we can look at it.