Recent content by travancic

  1. T

    Hotspot JavaScript Action How To

    Thanks for a quick reply! I did take a look at that earlier but I was stuck at how to reference the function I need in the XML. I think I am getting a better idea how everything works. I did get it to work but I will take a deeper dive to see if I can optimize the process a bit.
  2. T

    Hotspot JavaScript Action How To

    To answer my own question :) In case someone needs it. This is the correct way to specify the function in the XML file. clickData should only contain function name, no parentheses or semicolon. All works now. <hotspots> <hotspot id="hotspotred" renderMode="0"...
  3. T

    Hotspot JavaScript Action How To

    And... this is how my code looks like. Trying to somehow trigger the showDetails() functions but nothing happens. XML: <hotspots> <hotspot id="hotspotred" renderMode="0" indicatorImage="circ-cross-large-red.svg" activateOnClick="true"> <spotinfo clickAction="11"...
  4. T

    Hotspot JavaScript Action How To

    OK, I am trying to call a JavaScript function (using jQuery) when user clicks on a hotspot. Each hotspot click will show a DIV (either modal window or a div that slides into view) with bunch of info about particular hotspot. I cannot seem to find any tutorials about this. Could not find any...
Top