If you mean have the expanded header collapse when the mouse rolls out of it, even if into open space on the page, inside ddaccordion.js, try adding the lines in red to the existing code:
Code:
else{
$(this).trigger("evt_accordion")
return false //cancel default click behavior
}
})
if (config.revealtype=="mouseenter"){
$('.'+config["headerclass"]).bind("mouseleave", function(){
ddaccordion.collapseone(config["headerclass"], parseInt($(this).attr("headerindex")))
})
}
Or if you want, just use the modified ddaccordion.js file attached below instead.
Bookmarks