1) Script Title: ddaccordion
2) Script URL (on DD): 1)http://www.dynamicdrive.com/dynamici...ordionmenu.htm
3) I have two seperat instances of of tab system that look like 1, i ref them with tabb(opener)/box(content) and with tabb2/box2, i have them all in a row and when i go from tabb(normally 4-5 instances) to tabb2(2 instances) there is no visible difference (just how i want, it looks like a nice row of one type of tabs - i did this because i didnt know how many of "tabb" there would be on any given page),
The problem lies in a button further up the page, i want it to close tabb2 when i hit it, but it keeps it open, how should i code another line of text in the link?
should it be like this?.... it doesnt show any syntax errors, but it doesnt work eitherCode:<a class="buyoptions" href="#buyitem" onclick="ddaccordion.expandone('tabb', 0); return false; ddaccordion.collapseall('tabb2')"></a>
Can I place some code to close the other set of tabs into the "custom code section?"




Reply With Quote
Bookmarks