Toggle Box - A modified Version of Accordion

Toggle Box - A modified Version of Accordion


Use this to get boxes like the accordians, but the
opened boxes still stay opened and the closed boxes
still stay closed.
I know, that there are perhaps some nearly same plugins
like mine. But note: mine uses the same css-styles as
accordion and the init / usage is nearly the same as the
one form accordion.
Samples:
// Quick Init
$("#toggleboxes1").toggleboxes({
header: "h3"
});
// Other Style and Icons
$("#toggleboxes2").toggleboxes({
header: "h3",
boxclass: 'ui-togglebox', // you must build your own style class
in your style.css
icons: {
'header': 'ui-icon-triangle-1-s',
'headerSelected': 'ui-icon-triangle-1-n'
}
});
Demo:
http://www.michaelkeck.de/projects/jquery/
Javascript-Source:
http://www.michaelkeck.de/projects/jquery/_jscripts/jquery/jquery-ui-togglebox.js
I think, this would be really nice to see my ToggleBox in jQuery UI as
an alternative to Accordion.
Regards
Michael Keck