I have a custom accordion script – http://jsfiddle.net/nJpNb/2/
What I want to be able to do is hide the prev/next div when $(“.more”) is clicked. Currently all panels stay open, so the script mostly works.
Any help here would be appreciated.
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.
Just add
to first lines of
$(".more").click(function() {DEMO: http://jsfiddle.net/nJpNb/5/
But please cache the items.