We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 21800
    • 174 Posts
    maybe it should be mentioned that the great maxiGallery / slimbox also works with mootols 1.2.
    The thing is to fetch slimbox (at the time) v1.69, change the css folder with the grafics, change the script with the call

    Slimbox.scanPage = function() {
    $$(document.links).filter(function(el) {
    return el.href && el.href.test(/\.(jpg|png|gif)$/i);
    }).slimbox({}, null, function(el) {
    return (this == el) || (this.parentNode.parentNode && (this.parentNode.parentNode == el.parentNode.parentNode));
    });
    };
    window.addEvent("domready", Slimbox.scanPage);
    at the end (a modification of the autoactivation.js) and then, if you want remove the call of slimbox_lang_xx.js from maxigallery.class.inc.php (~ r637 and r704)

    I know it’s kinda quick and dirty and not so elegant as Doze can do it, but it works as far I can see.

    edit: It doesn’t work with a call like this (surely): ... &gal_query_ids=`xx` &limit=`1` ...
    edit: see gallery wiki for this ...

    can someone help?
      • 27330
      • 884 Posts
      nos did you get it to work ?
      I’m also trying to use slimbox 1.57 with mootools 1.2

      I tried your edit but it didn’t work for me. the image open in a new tab.
        • 21800
        • 174 Posts
        Yes it works. But surely the pic of the link apears twice.