Using the code below my accordions work as expected (initially closed)
except for the fact they flicker on page load. I can adjust the CSS
(opacity: 0 or visibility: hidden) to hide them which works to some
extent but the problem is I lose some accessibility and I need the
content to be visible if js is disabled. There must be a simple fix?

Thanks,

Todd

window.addEvent('domready', function() {

   var myAccordion = new Accordion($('accordion'), '.graphic',
'.sub_menu', {
                display: -1,
                alwaysHide: true,
                opacity: true,
   });

});

Reply via email to