Zum Inhalt springen

Lightbox rgmoodalbox

Erstellt am 2. Oktober 2010 · Noch keine Antworten

Tags: Bilder, JavaScript & AJAX, Frage

typo3_hp ·

Hallo!

Ich möchte auf einer Seite durch einen Link, eine Unterseite in einer Lihtbox anzeigen lassen.

Ich verwende dazu die Extension rgmoodalbox in version 1.0.2

Habe die Ext wie folgt implementiert:

-> Installiert
-> TS hinzugefügt:

# if you use t3mootools
page.includeJS.file1 = EXT:t3mootools/res/mootoolsv1.11.js
# if you don't need t3mootools
#page.includeJS.file1 = EXT:rgmoodalbox/res/js/mootools.js
page.includeJS.file2 = EXT:rgmoodalbox/res/js/moodalbox.js
page.includeJS.file4 = EXT:rgmoodalbox/res/js/mootools.js
# Include CSS styles
page.includeCSS.file17 = EXT:rgmoodalbox/res/css/moodalbox.css

Testlink angelegt:
<a href="index.php?id=20" rel="moodalbox">Open testlightbox</a>

Wenn ich auf den Link klicke wird die Seite ganz "normal" ohne Lightbox geladen.

Unter dem Head sind die Scripte geladen!

<link rel="stylesheet" type="text/css" href="typo3conf/ext/rgmoodalbox/res/css/moodalbox.css?1285970116" media="all" />
<script src="typo3conf/ext/rgmoodalbox/res/js/moodalbox.js?1285970116" type="text/javascript"></script>
<script src="typo3conf/ext/rgmoodalbox/res/js/mootools.js?1285970116" type="text/javascript"></script>
<script src="typo3temp/javascript_93077bb238.js?1285795508" type="text/javascript"></script>

Ich bekomme allerdings auch eine Fehlermeldung in der Fehlerkonsole:

Fehler: MOOdalBox.init.bind is not a function
Quelldatei: http://www.domain.de/typo3conf/ext/rgmoodalbox/res/js/moodalbox.js?1285970116
Zeile: 1

Habe die Fehlermeldung zwar in Google gefunden aber nirgends eine Lösung.

Was kann ich machen bzw. soll ich eine andere Extension dafür einsetzen?

Typo3 ist in Version 4.4.1 installiert.

Danke und Grüße
typo3_hp