create hotspot where user clicked?

  • I'm working on a project where users are asked to click on an HTML5 panorama of a room interior and leave there comments.

    i know how to capture mouse.x and mouse.y coordinates where they have clicked and save those to an array to be stored in a database. and i can generate a new xml file from the database contents the next time the panorama is accessed so users can see all the comments so far. however I cannot see a way to create hotspots from those coordinates since the hotspot parameters ask for ath and atv. is there a way to convert x/y to ath/atv?

    it would also be nice if i could create a hotspot immediately where they have clicked so they can see where they've commented already as they proceed through their session.

    any suggestions?

  • Hi,

    here a super simple example:

    Best regards,
    Klaus

Jetzt mitmachen!

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