I always fade mine in. You can have a noscript tag that includes css rules to set the opacity/display back to visible.
On Mon, Dec 14, 2009 at 3:06 PM, Todd <[email protected]> wrote: > 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, > }); > > }); >
