Hi
i use Mediabox Advanced on Contao 2.11.5
Usually i create a custom version of the moo_mediabox file and write my customizations.
example
Code:
Mediabox.scanPage = function() {
var links = $$('a').filter(function(el) {
return el.rel && el.rel.test(/^lightbox/i);
});
$$(links).mediabox({
counterText: '({x} | {y})'
, null, function(el) {
var rel0 = this.rel.replace(/[[]|]/gi,' ');
var relsize = rel0.split(' ');
return (this == el) || ((this.rel.length > 8) && el.rel.match(relsize[1]));
});
};
window.addEvent('domready', Mediabox.scanPage);
Mediabox 1.4.6 does not read the "counterText" parameter
I changed the version and activated the 1.2.5 and works fine ...
Any suggestions?
With version 1.4.6 configuration has changed?
On the site mediabox I found nothing
Thanks
Bookmarks