Mit Slideshow2 funktionieren Mootools-Effekte wie Lightbox / Akkordeon nicht.
Hallo,
ich habe das Problem, dass mit der Slideshow2 die Mootools-Effekte nicht mehr funktionieren, wie z.B. Lightbox / Akkordeon. (www.daarwin.de/2010/)
Das hat sich in diesem Thema herausgestellt:
http://www.contao-community.de/showt...ll=1#post88972
Code:
var images_<?php echo $this->id; ?> = {<?php echo $this->imgElements; ?>};
var show_<?php echo $this->id; ?> = new Slideshow<?php echo $this->EffectType;?>('show<?php echo $this->id; ?>', images_<?php echo $this->id; ?>,
{
width: <?php echo $this->arrSlideshow2Size[0]; ?>,
height: <?php echo $this->arrSlideshow2Size[1]; ?>,
delay: <?php echo $this->rotation_interval; ?>,
duration: <?php echo $this->effect_duration; ?>,
<?php echo $this->EffectsExtended; ?>
loop: <?php echo $this->play_loop; ?>,
paused: <?php echo $this->play_paused; ?>,
random: <?php echo $this->play_random; ?>,
controller: <?php echo $this->controls; ?>,
fast: <?php echo $this->controls_type; ?>,
thumbnails: <?php echo $this->thumbnails; ?>,
captions: <?php echo $this->captions; ?>,
<?php echo $this->linked; ?>
loader: {'animate': ['plugins/slideshow2/img/loader-#.png', 12]}
});
<?php if($this->thumbnails_overlay == true): ?>
['a', 'b'].each(function(p){
new Element('div', { 'class': 'overlay ' + p }).inject(show_<?php echo $this->id; ?>.slideshow.retrieve('thumbnails'));
}, show_<?php echo $this->id; ?>);
<?php endif; ?>
Hat hier vielleicht auch jemand den Fehler und weiß wie man das beheben kann.
Gruß,
Chris