Closing popups - add X close mark??? + background issues

  • Hi guys
    In this example:
    https://krpano.com/releases/1.20.…tml5=only+webgl
    Each hotspot results in a popup window of sorts. For the average user, it's not obvious that you should click off the popup to close it. This can also be very problematic if you have many hotspots and when you try click off a popup, you may click on another hotspot in the background and then the popup doesnt close.
    How can I add a typical X close button for the popup, which are typically found on things like lightboxes?
    Alternatively, is there a free lightbox somewhere that will give me all the functions of this example:
    https://krpano.com/releases/1.20.…tml5=only+webgl
    ....but also additionally add the little X close button (and maybe even with a gallery function also)

  • Hi,

    here the same example slightly modded with a close-x icon - replace the current 'popup' action with that part and add a custom 'closex.png' icon into the same folder:

    Best regards,
    Klaus

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!