how can i cancel out a toggleClass when clicking on a different element?
hello.
so if i have set it up so that when you click a div it enlarges an image using toggleclass.
the problem is that when i go to the next page without clicking on the image to cancel the toggleClass it carries to fx to the next page.
i would like to return the toggle to its previous state on clicking of the next page button.
you can see some code here: http://jsfiddle.net/rickyspires/ypmdr/114/
but it does not include any page turns
thanks
rick