$('img').anaglyphImage({
intensity: 20,
quality: 0.9
});
This codes are making an image anaglyph effect, there's no problem here, I want to remove this effect to clicking a button and adding this effect again like switch button 3d on/3d off
Thanks..
You can use jquery function .toggle funtion for this work. Something like this
Search on internet for correct Syntax. toggle : api.jquery.com/toggle/