Accordion Menu / Posts /

All Accordion Open at first time

23
I use this accordion js and css but my issues is when page load, all accordion where open and after click on any accordion title. other are close.
I want to do that on page load 
Shivam  3 years ago   viewed: 6892    

3 Answers

3
Configure the option variables in the accordionmenu.js as:
expand: “single”

And at the end of your page, adding a script block that calls the amenu.open function. For example:
<script>
   amenu.open(“LiID1”, false); 
   amenu.open(“LiID2”, false);
   ......
   amenu.open(“LiID7”, false);
</script>

Please read the online instructions for details.
Milo   3 years ago
1
http://www.menucool.com/vertical/accordion-menu-css i am try to use this menu. can anyone tell from where i can get its html and js files
shumaila   3 years ago
0
You can get them from page http://www.menucool.com/vertical/accordion-menu, under the HTML and the JavaScript tag.
Milo   3 years ago

   

Your name*
Password
(Optional. Used to modify this post afterwords)
+ =  

Ask your Own Question

  • If your question is related to the topic of this post, you can post your question to this page by clicking the "Post a reply" button at left;

  • When you want to start a new page for your question: