Accordion behavior question

Accordion behavior question


Hi all,
I was wondering if anyone knew of a good way to "turn off" toggling
for part of a accordion header? I have an accordion at the moment
which uses two divs, one for the header and one for content. I would
like to have a button inside the header which does not trigger the
accordion when pressed, but handles some other functionality instead.
e.g.
|**************************************************|
| toggle content here [ x ] |
----------------------------------------------------------------
| |
| (content goes here...) |
----------------------------------------------------------------
... where clicking on some button "[x]" would *not* cause the content
to be hidden/shown.
So far the best way I've come up with to do this is to sub-divide the
header div into two more containers, and then manually add an event
handler on the left div so that it fires accordion("activate") on the
proper item.
Anyone have any better ideas? Any advice would be appreciated :)
Thanks!
Keith