I have a slot machine plugin here that rotates UL’s and shows one of them randomly.
I would like the shown UL to set a value.
Something like this:
if ($("#1").is(":visible") == true) {
dial.setValue(8);
};
Hope you can help.
Thanks.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
onEnd :function() { ... },seems to be where you need your functionNot quite sure why I only get one item, but here is code that works
DEMO