Accordion Menu / Posts /

All Accordion Open at first time

22
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  10 years ago   viewed: 12163    

3 Answers

0
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   10 years ago
0
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   10 years ago
-1
You can get them from page http://www.menucool.com/vertical/accordion-menu, under the HTML and the JavaScript tag.
Milo   10 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: