1. [Preview] JA Nuevo - Joomla template for Application Landing page [Sneak Peek]


    [Preview] JM TravelGear - Magento theme for outdoor activities gear stores [Sneak Peek]


    *Release 8 more tutorial videos on developing with T3 Framework* See them here!


User Tag List

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

    Join Date
    Feb 2012
    Posts
    124
    Points
    280.01
    Downloads
    2010
    Uploads
    0
    Mentioned
    5 Post(s)
    Tagged
    0 Thread(s)
    Thanks
    47
    Thanked 5 Times in 5 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
    4,842
    Points
    10,973.10
    Downloads
    2959
    Uploads
    0
    Mentioned
    5 Post(s)
    Tagged
    1 Thread(s)
    Thanks
    168
    Thanked 1,186 Times in 1,089 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
    Joomla Developer Membership - Renew 1 year

    Join Date
    Feb 2012
    Posts
    124
    Points
    280.01
    Downloads
    2010
    Uploads
    0
    Mentioned
    5 Post(s)
    Tagged
    0 Thread(s)
    Thanks
    47
    Thanked 5 Times in 5 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,288
    Points
    22,760.14
    Downloads
    2758
    Uploads
    0
    Mentioned
    5 Post(s)
    Tagged
    0 Thread(s)
    Thanks
    846
    Thanked 956 Times in 716 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
    6
    Points
    -41.55
    Downloads
    132
    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,274
    Points
    5,088.56
    Downloads
    99
    Uploads
    0
    Mentioned
    15 Post(s)
    Tagged
    0 Thread(s)
    Thanks
    54
    Thanked 440 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.

  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
    6
    Points
    -41.55
    Downloads
    132
    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

Stop working on Weekend!X

If your Boss broke your Joomla template or extension and ask you to fix it today. Here is the immediate solution. Then leave your request on the right forum, we will be helping after the Weekend Happy hours
Our Happy Hours: Friday 18:00 - Monday 9:00

No working during happy hours. Keep calm and don't break anything.