We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 10226
    • 412 Posts
    I have added slimbox to a site I am working on. And it is not working to well smiley

    I am using mootools that is shipped with modx, I tested it using the slimbox demo page, pointing it to the copy on my server - that works fine. I Then I tried putting the demo page into modx with a blank template (made proper mods for css and js) - Added the code for another slideshow used on my site - That page works just fine too.

    But where I need it to work, I get the classic image view, no slimbox. I tried all kinds of things before posting so I would not be wasting anyones time.

    http://urbanperch.fruitwerks.us/lineolated-parakeets.php - this page, the "test" link and the last thumbnail should be working, none of the others are coded for slimbox..

    http://urbanperch.fruitwerks.us/contact1.php - modded demo page served via modx blank template.

    I’m stumped on this one, I have used slimbox, lightbox and alikes before with not many problems, no luck today smiley

    Thanks

      • 10226
      • 412 Posts
      SOLVED

      Mootools must be loaded before Slimbox, but looking at the page source...

        <script type="text/javascript" src="assets/js/slimbox_ex.js"></script>
      
      	<script type="text/javascript" src="manager/media/script/mootools/mootools.js"></script>
      	<script type="text/javascript" src="assets/snippets/AjaxSearch/AjaxSearch.js"></script>


      Is there a hack to remove the auto-loading of mootools and ajaxsearch? I added them manually, but they still work into the code...