Loading...
Skip navigation
Please note that this documentation is for the most recent version of this extension. It may not be relevant for older versions. Related documentation can be found in the documentation directory of the extension.

JavaScript Lightbox modifications

Open Lightbox content with another Lightbox library

In order to open the door content in another Lightbox, just override the displayContent JavaScript method:

adventskalender.displayContent = function (content) {
    jQuery.fancybox.open(content, {
        animationEffect: "zoom-in-out",
        clickSlide: false,
        clickOutside: false,
        helpers : {
            overlay : {
                closeClick: false
            }
        },
        touch: false
    });
    adventskalender.bindSubmitEvents();
    return this;
};

Perform an action after Lightbox closing

In order to perform an action after the Lightbox is closed, you can adjust the initialization of the Lightbox like:

adventskalender.displayContent = function (content) {
    jQuery.fancybox.open(content, {
        animationEffect: "zoom-in-out",
        clickSlide: false,
        clickOutside: false,
        helpers : {
            overlay : {
                closeClick: false
            }
        },
        touch: false,
        onClosed: function() {
            alert('onClosed');
        },
        afterClose: function() {
            alert('afterClose');
        }
    });
    adventskalender.bindSubmitEvents();
    return this;
};
Last change: 2026-10-14
Documentation
TYPO3 Adventskalender Extension

TYPO3 Online-Adventskalender by coding.ms

The TYPO3 Advent Calendar extension lets you create and manage custom online Advent calendars directly in TYPO3. Installed in your TYPO3 system and hosted on your own server, the extension offers 24 doors for text, images, videos, quizzes and prize draws to help you retain customers, generate leads and showcase products.

Menu

Contact request

You can contact us at any time

Stop! Playing in the meantime?
Stop! Playing in the meantime?
Stop! Playing in the meantime?

Stop! Playing in the meantime?

Break the highscore

Press Start
Contact request
Screenreader label
Security question
KH9_________YLC______
4______D______U___B69
R6E___HFZ_____2______
__X____W______S___AKH
BWX___________E______
Dein Online-
Adventskalender
Entdecken →
Dein Online-
Adventskalender
Entdecken →