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!?
Thank you in advance for your time and support.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>
Best,
Branko


Reply With Quote





Bookmarks