We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 730
    • 3 Posts
    Hi Guys,

    I’m busy with a website and have implemented maxigallery into it.
    I can upload images and everything, but I can’t get it to work with slimbox.
    I’m using mootools 1.2 and also used &disable_js_libs=`1`. All worked fine except the part when you click on an image.
    Instead of opening in the slimbox it opens in a popup.

    I get the following error:

    this.keyboardListener.bindAsEventListener is not a function
    anonymous("assets/snippets/maxigallery/slimbox/images/loading.gif", "assets/snippets/maxigallery/slimbox/images/closelabel.gif", "assets/snippets/maxigallery/slimbox/images/nextlabel.gif", "assets/snippets/maxigallery/slimbox/images/prevlabel.gif", 500, Object name=resizeTransition, "Image", "of", ["n", " " 0=n 1= $family=Object], ["b" 0=b $family=Object], ["c", "x", "q" 0=c 1=x 2=q $family=Object])slimbox.js (line 33)
    anonymous()mootools.js (line 56)
    anonymous(Object name=D)mootools.js (line 57)
    anonymous()mootools.js (line 56)
    anonymous(Object name=D)mootools.js (line 57)
    anonymous(function())mootools.js (line 173)
    anonymous("domready", Object name=B, Object name=A)mootools.js (line 174)
    anonymous()mootools.js (line 248)
    anonymous()mootools.js (line 168)
    [Break on this error] this.eventKeyDown = this.keyboardListener.bindAsEventListener(this);\n

    No idea why I’m getting it.

    The url to the site is: jads.jdfuse.com

    Thanks for the ones that can help.

    Regards
      • 7923
      • 4,213 Posts
      The slimbox in MaxiGallery is not probably compatible with MooTools 1.2 then.. See if you can find a slimbox for mootools 1.2 and update the one in MaxiGallery with it.


        "He can have a lollipop any time he wants to. That's what it means to be a programmer."
        • 730
        • 3 Posts
        Hi doze,

        Thanks a lot. That worked, but now I’m having problems with the box re-size(to the size of the image) and buttons are not showed. Could this have something to do with the css?
          • 7923
          • 4,213 Posts
          Yeah, update the css file too and check the image paths in it.


            "He can have a lollipop any time he wants to. That's what it means to be a programmer."
            • 730
            • 3 Posts
            Doze thanks a lot. All is working fine now.