I am trying to kill and reinitialize the .parallax on window resize. Was wondering how to kill it?
That's a good question. There is no easy way to kill it. Most events are bound with the namespace 'parallax', but I note that not all are.
Currently the only way to do it would be to remove the parallax frame from the DOM and re-insert it (thus losing all the event bindings). That still leaves some stuff bound to window and document, but nothing that will interfere with the next setup of parallax.
Thanks. I will look into making an easy un-parallax method.
If i remove the parallax frame from the DOM and re-insert it will this be a solution for the performance issues seen when calling .parallax on the same element more than once?
Yes, more or less.
Note to self: these issues address the same question, more or less:
Is there any working solution for this issue yet? Looks like its in demand all over. Here too http://stackoverflow.com/questions/6305547/how-to-disable-jquery-jparallax-plugin-on-scroll-and-re-enable-when-scrolling-st