1. Preview July Responsive Business Template - for Joomla! 2.5 & 3.1


    JA Smashboard - June Joomla 2.5 & 3.0 Responsive template Stable version released


    JM Lingerie - June Magento Theme Stable version released


    JA Wall Bundle version 1.0.9 - Now compatible with Joomla! 3.1


    JA Bistro version 2.5.4 - Now available for Joomla! 3.1


User Tag List

+ Reply to Thread
 
Results 1 to 8 of 8
  1. #1
    Licensed Member Expired
    Joomla Developer Membership - 1 year Expired

    Join Date
    Feb 2012
    Posts
    78
    Points
    169.71
    Downloads
    1370
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks
    32
    Thanked 2 Times in 2 Posts

    Question JA Accordion how to set all panels to be closed? Instead of having first panel open?

    Hi,

    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!?

    HTML Code:
    <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){
    toggler.addClass('active');
    element.addClass('active');
    },
    onBackground: function(toggler, element){
    toggler.removeClass('active');
    element.removeClass('active');
    }
    });
    });
    </script>
    Thank you in advance for your time and support.

    Best,
    Branko
    Attached Images

  2. #2

     Expired

    Join Date
    Feb 2011
    Posts
    5,103
    Points
    10,973.10
    Downloads
    2959
    Uploads
    0
    Mentioned
    5 Post(s)
    Tagged
    1 Thread(s)
    Thanks
    182
    Thanked 1,240 Times in 1,137 Posts
    You replace the code
    Code:
    alwaysHide: true,
    with
    Code:
    display: -1,
    alwaysHide: true,

  3. The Following User Says Thank You to khoand For This Useful Post:

    artistgates (03-29-2012)

  4. #3
    Licensed Member Expired
    Joomla Developer Membership - 1 year Expired

    Join Date
    Feb 2012
    Posts
    78
    Points
    169.71
    Downloads
    1370
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks
    32
    Thanked 2 Times in 2 Posts
    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.

    Best,
    b

    Quote Originally Posted by khoand View Post
    You replace the code
    Code:
    alwaysHide: true,
    with
    Code:
    display: -1,
    alwaysHide: true,

  5. #4
    Unlicensed Member
    Join Date
    Dec 2007
    Posts
    6
    Points
    0.46
    Downloads
    782
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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....=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?

  6. #5
    Global Moderator drarvindc's Avatar
    Join Date
    Oct 2006
    Posts
    3,180
    Points
    22,400.46
    Downloads
    2494
    Uploads
    0
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Thanks
    729
    Thanked 843 Times in 654 Posts
    Hi abboud,

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

    Regards

  7. #6
    Licensed Member
    JoomlaTemplate Club Member - Personal License - Renew 1 Year

    Join Date
    Jan 2007
    Posts
    5
    Points
    -41.95
    Downloads
    91
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks
    2
    Thanked 0 Times in 0 Posts
    Hi!

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

    Thanks!

    Matt

  8. #7
    Licensed Member
    Joomla Developer Membership - 1 year

    Stork11's Avatar
    Join Date
    Mar 2011
    Posts
    2,280
    Points
    5,088.56
    Downloads
    99
    Uploads
    0
    Mentioned
    14 Post(s)
    Tagged
    0 Thread(s)
    Thanks
    54
    Thanked 439 Times in 399 Posts
    Quote Originally Posted by mattsh View Post
    Hi!

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

    Thanks!

    Matt
    Hello Matt,

    This script is located in "\modules\mod_jaaccordion\tmpl\default.php".


    Regards.
    If you find this post is useful, please don't forget to click "Thanks" button.

  9. The Following User Says Thank You to Stork11 For This Useful Post:

    mattsh (06-16-2012)

  10. #8
    Licensed Member
    JoomlaTemplate Club Member - Personal License - Renew 1 Year

    Join Date
    Jan 2007
    Posts
    5
    Points
    -41.95
    Downloads
    91
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks
    2
    Thanked 0 Times in 0 Posts
    Thanks!

    Works perfect!

    Matt

+ Reply to Thread

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts