JA Accordion how to set all panels to be closed? Instead of having first panel open? - JoomlArt
League Bundle $1335 $499 Buy Now
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
  • brankopilic Friend


    I am wondering how to set up JA Accordion to have all panels closed when you open a web site? Instead of having first panel open?

    Here is my web site: http://umrc1.cloudaccess.net/

    Attached picture how I would like to be when web site is open: 1. JA Accordion issue.JPG
    And attached picture how it is at the moment: 2. JA Accordion issue.JPG

    It looks like that the javascript sets the first panel to display open! I was trying to play with start and end under template menu style with 1 and -1 features how to open menu! But this changes I guess of course didn’t applied on accordion module.

    Here is also a code what might help!?

    <script type=”text/javascript”>
    window.addEvent(‘domready’, function(){
    var myAccordion = new Fx.Accordion($(‘ja-accordion146’), $$(‘.ja-accordion-title146’), $$(‘.ja-accordion-content146’), {
    alwaysHide: true,
    display: 0,
    trigger: ‘click’,
    duration: 300,
    transition: Fx.Transitions.quartOut,
    onActive: function(toggler, element){
    onBackground: function(toggler, element){

    Thank you in advance for your time and support.


    1. 1.-JA-Accordion-issue
    2. 2.-JA-Accordion-issue
    khoand Friend

    You replace the code

    alwaysHide: true,

    display: -1,
    alwaysHide: true,

    brankopilic Friend

    Woow, AAAA+++++++++++

    Khoand Thanks a lot. I highly appreciate your help. It worked out perfect. Once again thank you for your time and support with this matter.


    <em>@khoand 310892 wrote:</em><blockquote>You replace the code

    alwaysHide: true,

    display: -1,
    alwaysHide: true,


    abboud Friend

    Hi, Sorry for opning this again: I have a similar issue with JA accordion but I need to have the Parent accordion item to open when it has a child linked that is active. Here is the site dev link: http://dev.digitup.se/suhoski/index.php?option=com_content&view=article&id=78&Itemid=455 If you choose a link under WEBBDESIGN and click, the first item is still opened although it is more logic to open the parent for the clicked one. Any ideas, please?

    Arvind Chauhan Moderator

    Hi abboud,

    I am sorry but active support is available only to paid members. Please renew your membership to avail support.


    mattsh Friend


    Where can I find this js-file or the javascript?



    Stork11 Friend

    <em>@mattsh 325427 wrote:</em><blockquote>Hi!

    Where can I find this js-file or the javascript?


    Hello Matt,

    This script is located in “modulesmod_jaaccordiontmpldefault.php”.


    mattsh Friend


    Works perfect!


Viewing 8 posts - 1 through 8 (of 8 total)

This topic contains 8 replies, has 6 voices, and was last updated by  mattsh 4 years, 11 months ago.

You must be logged in to reply to this topic.