Hi,
Is there a way to assign a html ID to a hotspot? I'm trying to implement a bit of JS in my code to make a hotspot appear after an settimeout by hotspots don't appear to be given an ID in the html.
Any help appreciated.
html ID for hotspots
Hi!
Our player has a function 'getCurrentPointHotspots()', that gives you an array of all the hotspots present in the current node.
Each element in that array has a property 'ggId', that contains the ID of the hotspot template in the skin editor. (So you can then filter for all hotspots that have a certain id....)
Regards,
Christoph
Our player has a function 'getCurrentPointHotspots()', that gives you an array of all the hotspots present in the current node.
Each element in that array has a property 'ggId', that contains the ID of the hotspot template in the skin editor. (So you can then filter for all hotspots that have a certain id....)
Regards,
Christoph
Our skin elements in general have no (html) id.
Also hotspots are dynamically cloned for each node, and there could be many for each hotspot template, so what would that id be?
Anyway, the player function that gives you an array of all current point hotspots will give you all hotspots anyway, so you should be able to access and manipulate them from there.
Regards,
Christoph
Also hotspots are dynamically cloned for each node, and there could be many for each hotspot template, so what would that id be?
Anyway, the player function that gives you an array of all current point hotspots will give you all hotspots anyway, so you should be able to access and manipulate them from there.
Regards,
Christoph