-1 |
|
Ik los het altijd met javascript op, met css zit je nooit goed ivm max-width, max-height, margins, paddings enz...
http://www.bo-djenna.be/paginas/kalender/
is gewoon het framework van mootools geladen en voor de rest is het:
function showEvent() {
height = 0;
if(window.getScrollHeight() > window.getHeight()) {
height = window.getScrollHeight()
} else {
height = window.getHeight();
}
$$('.event').each(function(element) {
element = $(element);
element.setStyle('height',height);
element.effect('opacity').start(0.8);
});
});
function showEvent() { height = 0; if(window.getScrollHeight() > window.getHeight()) { height = window.getScrollHeight() } else { height = window.getHeight(); } $$('.event').each(function(element) { element = $(element); element.setStyle('height',height); element.effect('opacity').start(0.8); }); });
|