Hello,
1) Script Title: Accordion Content script
2) Script URL (on DD):
http://www.dynamicdrive.com/dynamici...daccordion.htm
3) Describe problem:
I included the ddaccordion.init in a file (as base.js) with my defaults parameters on all html sheets. It is configured to expand first header at init.
But from time to time, in a few sheets, I want first and second to be expanded.
So I added this line :(in <head> or <body>)Code:<script type="text/javascript">ddaccordion.expandone('collapsehead', 1);</script>
But this does not work : only first is expanded.
I do not understand why. How to make it works ?
(I would like not to use extra parameter on URL)
Note that I am new to javascript...
Christophe



Reply With Quote

Bookmarks