Nieuw lid |
|
Sorry! Ik was inderdaad de post aan het wijzigen.
Grappig.
als ik accordation instel op 1 ,en zeg dat er 1 post (de nieuwste) getoond moet worden. werkt er niets.
Maar als ik instel dat de pagina b-basic.com na het laden van de site 4 dichte artikelen moet tonen dan springt er wél 1 open.
Het lijkt dus te werken maar nog niet helemaal.
window.addEvent('domready', function() {
var myAccordion = new Accordion($('menu'), 'h2.menuheader', 'div.menucontent', {
opacity:true,
display: 1,
duration: 300,
alwaysHide: true,
onActive: function(menuheader, menucontent){
menuheader.setStyle('font-weight', 'bold');
},
onBackground: function(menuheader, menucontent){
menuheader.setStyle('font-weight', 'bold');
}
});
});
window.addEvent('domready', function() {
var myAccordion = new Accordion($('maincol'), 'h2.contentheader', 'div.content', {
opacity:true,
display: 1,
duration: 300,
alwaysHide: true,
onActive: function(contentheader, content){
contentheader.setStyle('font-weight', 'bold');
},
onBackground: function(contentheader, content){
contentheader.setStyle('font-weight', 'bold');
}
});
});
window.addEvent('domready', function() { var myAccordion = new Accordion($('menu'), 'h2.menuheader', 'div.menucontent', { opacity:true, display: 1, duration: 300, alwaysHide: true, onActive: function(menuheader, menucontent){ menuheader.setStyle('font-weight', 'bold'); }, onBackground: function(menuheader, menucontent){ menuheader.setStyle('font-weight', 'bold'); } }); }); window.addEvent('domready', function() { var myAccordion = new Accordion($('maincol'), 'h2.contentheader', 'div.content', { opacity:true, display: 1, duration: 300, alwaysHide: true, onActive: function(contentheader, content){ contentheader.setStyle('font-weight', 'bold'); }, onBackground: function(contentheader, content){ contentheader.setStyle('font-weight', 'bold'); } }); });
|