Hallo Joe,
danke Dir für die Antwort. Das mit dem youtube Link war schon mal hilfreich. Ich werde das mal so weitergeben.
Nun habe ich aber immer noch ein Problem mit der Anpassung des mootemplates.
Ich müsste doch das moo_cerabox.xhtml anpassen oder? Meine sieht jetzt so aus:
PHP-Code:
<?php $GLOBALS['TL_CSS'][] = 'plugins/cerabox/style/cerabox.css'; ?>
<script type="text/javascript" src="plugins/cerabox/cerabox.min.js"></script>
<script type="text/javascript">
window.addEvent('domready', function() {
$$('a[rel^=lightbox]').cerabox();
});
// Items that don't have a youtube class
$$('#example2 a:not(.youtube)').cerabox({
group: false
});
// Add the items with a youtube class with a specific size
$$('#example2 a.youtube').cerabox({
group: false,
width: 480,
height: 390
});
</script>
aber auf die Größe reagiert er trotzdem nicht. Könntest Du mir bitte noch mal helfen und verraten, was ich falsch mache?
Lesezeichen