I'm not all that familiar with your layout or with this script, so there may be a better way. But this (changes/additions highlighted) appears to work out fairly well:
Code:
<style type="text/css">
/*CSS for example Accordion #hc1*/
#hc1 {
position:relative;
left: -25px;
}
#hc1 li{
margin:0 3px 0 0; /*Spacing between each LI container*/
}
#hc1 li .hpanel{
padding: 5px; /*Padding inside each content*/
background: #FF2444;
}
</style>
<script type="text/javascript">
haccordion.setup({
accordionid: 'hc1', //main accordion div id
paneldimensions: {peekw:'46px', fullw:'610px', h:'178px'},
selectedli: [0, true], //[selectedli_index, persiststate_bool]
collapsecurrent: false //<- No comma following very last setting!
})
</script>
Bookmarks