Hey everyone,
I’m pretty new to the world of javascript so I have a question that’s probably pretty obvious to most…I was wondering if there was any way I could take off a function once I add it to an object? I want to use the AnythingZoomer, but I want the ability to toggle it on and off. So, how do I do that? They give the example:
$("#zoom").anythingZoomer();
That seems simple enough, but after that how do I take anythingZoomer off the #zoom object? Should I just change the ID when I want to turn off the functionality then change it back to add it again? Would that even work? Do I have to reload the element?