Beheerder |
|
display: -1,
alwaysHide: true,
display: -1, alwaysHide: true,
Dit zet je bij je accordion opties.
Bijvoorbeeld
window.addEvent('domready', function() {
//create our Accordion instance
var myAccordion = new Accordion($('accordion'), 'h3.toggler', 'div.element', {
opacity: false,
display: -1,
alwaysHide: true,
onActive: function(toggler, element){
toggler.setStyle('color', '#DB2B36');
toggler.setStyle('cursor', 'pointer');
},
onBackground: function(toggler, element){
toggler.setStyle('color', '#DB2B36');
toggler.setStyle('cursor', 'pointer');
}
});
});
window.addEvent('domready', function() { //create our Accordion instance var myAccordion = new Accordion($('accordion'), 'h3.toggler', 'div.element', { opacity: false, display: -1, alwaysHide: true, onActive: function(toggler, element){ toggler.setStyle('color', '#DB2B36'); toggler.setStyle('cursor', 'pointer'); }, onBackground: function(toggler, element){ toggler.setStyle('color', '#DB2B36'); toggler.setStyle('cursor', 'pointer'); } }); });
|