addClass() then removeClass() on click (jquery)
问题 .I'm trying to make some gallery. Want to use addClass to show image and then click on same place to remove this new class I googled for help, but after hour of trying to get it work normally, i'm asking you for help. I found here solution for reversed option (first remove and add) Code: <html> <script type="text/javascript" src="http://www.s-ola.me/js/jquery.js"></script> <script type="text/javascript" src="http://www.s-ola.me/js/jquery.nailthumb.1.1.min.js"></script> <style> #window { width