General Question
How would you form an if statement in a jQuery function, then call that function using a .click() handler?
Asked by GrayTax (551)
February 9th, 2012
I seem to be having trouble making this work:
I need to be able to perform a check on a css property of a particular element, and get the JavaScript to perform an animation based on the returned value.
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
Observing members:
0
Composing members:
0
6 Answers
Answer this question
This question is in the General Section. Responses must be helpful and on-topic.
Have a question?
Ask Fluther!