make onover / onhover work on touch devices ?

  • Hello everybody,

    So I have a pano with image hotspot and polygone hotspot.

    When the image hotspot are hovered they get tweened a bit bigger. It also works on touche device when pressing them with the thumb.

    When the polygone hotspot is hovered, it get tween to another fillColor. It works on desktop, however on touch devices, nothing happend when pressing them with the thumb.

    Why is one case working and not the other ? What is the cleanest way to make a polygone hotspot tween to another color only while beeing pressed with the thumb on touch device ?

    Here is the pano I'm talking about:

    http://visitevirtuelle-360.ch/ex/naef/closDeLorbe/

    Here is the code of the image hotspot:


    And the code of the polygone hotspot:

    Thanks for your inputs !

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!