IIPMooViewer 2.0 Not loading when using src javscript

Help
Anonymous
2014-04-04
2014-04-11

  • Anonymous
    2014-04-04

    When I set the script to use: iipmooviewer-2.0.js in the "src" folder, I receive the error in the console:
    Uncaught TypeError: undefined is not a function - iipmooviewer-2.0.js:185

    When I go back to the minified version, I have no issues. I am calling the IIPMooViewer by:
    var iip = new IIPMooViewer( "targetframe", {
    image: images,
    server: server,
    credit: credit,
    zoom: 0,
    render: 'random',
    showNavButtons: true,
    showCoords: true,
    });

    I need to use the src js so I can customize everything appropriately.

    Any suggestions are appreciated!Thanks!

     
    • Ruven
      Ruven
      2014-04-11

      Use the index-dev html file. If you want to use the unminified version, you will also need to load several other js includes.

       


Anonymous


Cancel   Add attachments