I am using two side-by-side spry accordians in Dreamweaver 5. They look great, however, I only want the viewer to see one accordian tab at any given time. Is it possible to put in an if statement at the end of the html document to instruct the browser to collapse one accordian if the second accordian is opened? I have tried but javascript is not my area! <script type="text/javascript"> var Accordion1 = new Spry.Widget.Accordion("Accordion1",{ defaultPanel: -1}); var Accordion2 = new Spry.Widget.Accordion("Accordion2",{ defaultPanel: -1}); </script>
... View more