I am trying to add hotspots dynamically using javascript. Everything seems to work except setting the style attribute, which is being ignored. (I can set the img attribute but if I use a style containing an url, the img is ignored.)
For example, with the following style in place:
..setting the style does not work:
..but setting the img to the same image path does:
Is there a reason why the two results would be different?
Thanks
Martin