I have an Accordion built with MooTools which works great.
jsfiddle example: http://jsfiddle.net/T6WX7/
However, can someone explain how I update this script so my accordion remains closed when the page initially loads.
Thank you,
Michael
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.
Add:
display: -1,to the attributes.
Found the answer here: http://davidwalsh.name/simple-mootools-accordion#comments
Joy 😀