You are not logged in.

Dear visitor, welcome to krpano.com Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

H.Lunke

Beginner

  • "H.Lunke" started this thread

Posts: 4

Location: León, Nicaragua

  • Send private message

1

Thursday, August 9th 2018, 2:26pm

Dynamic creation and removal of old combobox

Hi,

i have a problem using the old combobox-plugin, which is dynamically created to display several hotspot-specific options.
On removal of the cobobox-layer the combobox disappears but the corresponding DIVs remain in the DOM, interfering with the pano movement and other hotspots' mouseover events.
How can the DIVs be completely removed?

Thanks in advance,
Michael
Paradise is exactly like where you are right now -
only much, much better.
[Laurie Anderson, Language is a virus]

toosten

Intermediate

Posts: 463

Location: Berlin

Occupation: freier Software-Entwickler ( HTML, JS, PHP, JSP, Flash, AS3, C++, Java, krpano, ---)

  • Send private message

2

Saturday, August 11th 2018, 11:06pm

https://krpano.com/docu/xml/#layer.sprite

var e= krpano.get(layer[..].sprite);
e.parentNode.removeChild(e);