How would you form an if statement in a jQuery function, then call that function using a .click() handler?
I seem to be having trouble making this work:
The animation is working fine on its own, I just can’t seem to get the conditional to work; I’m convinced I have the syntax wrong or something but Dreamweaver isn’t throwing up any errors.
Any help is appreciated, and I can provide the script (as it currently is) if needed. Also I’m a complete novice at this…
Many thanks, jellies :D
This question is in the General Section. Responses must be helpful and on-topic.