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

    i am using smoothgallery and firebug reports this javascript error in mootools.js:

    this.getElementsByTagName is not a function

    e("div.imageElement", 0)mootools.js (line 2)
    (no name)("div.imageElement")prototype.js (line 294)
    _each(function())prototype.js (line 487)
    each(function())prototype.js (line 292)
    e("div.imageElement")mootools.js (line 2)
    populateData()jd.gallery.js (line 125)
    initialize(div#myGallery10.jdGallery, Object showArrows=0 showCarousel=0 showInfopane=1)jd.gallery.js (line 88)
    e()mootools.js (line 2)
    startGallery()l (line 217)
    e(startGallery())mootools.js (line 2)
    (no name)(startGallery())prototype.js (line 294)
    _each(function())prototype.js (line 487)
    each(function())prototype.js (line 292)
    e("domready", [])mootools.js (line 2)
    e()mootools.js (line 2)
    bind()prototype.js (line 68)
    [Break on this error] eval(function(p,a,c,k,e,d){e=function(c){return(c<a?’’:e(parseInt(c/a)))+((c=c%a...

    anyone know how to fix this?

    G
      • 7923
      • 4,213 Posts
      do you have some other js library included on the page at the same time perhaps?


        "He can have a lollipop any time he wants to. That's what it means to be a programmer."
        • 10470
        • 48 Posts
        nope, just the stuff maxigallery adds.
          • 28042 ☆ A M B ☆
          • 24,524 Posts
          Check a "view source"; possibly you’ve got QuickEdit or some other similar plugin or snippet adding library loads that you aren’t aware of.
            Studying MODX in the desert - http://sottwell.com
            Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
            Join the Slack Community - http://modx.org