When using this great way to display popup windows (https://krpano.com/releases/1.20.…tml5=only+webgl) it has the disadvantage that the popup opens, but the whole panorama continues to work, even the lower menu (which is not seen in the example). What happens is that if the user clicks to change the panorama, the new one drags the blur and it cannot be eliminated if The page will not reload.
I have tried to put something similar to z-index, but I have not achieved satisfactory result. Any option?
Regards
Blur problems after popups
-
-
Hi,
do you use the example code from the latest version?
Because the example was especially improved for that because there were similar requests.
Now there is a background layer that blocks controlling other elements.
It's defined here:
https://krpano.com/viewsource.htm…/popup_blur.xml
this way:Code
Display Moreaddlayer('popup_bg', popup_bg); set(popup_bg, type=container, align=lefttop, width=100%, height=100%, zorder=99, handcursor=false, bgcapture=true, capture=false, //bgcolor=0x123456, onloaded='tween(bgalpha,0.3,1.0);', // optional: colorize the background ondown='popup_close()' );
(depending on your other layers maybe increase the zorder value)And there is code to automatically remove the blur when changing the pano:
That means when using the code from the latest release, that what you describe shouldn't happen.
Best regards,
Klaus -
Yeeeees. Solved. It works perfectly.
I used the example from the beginning and I did not find out about this modification, which is decisive.
Thanks Klaus.
Participate now!
Don’t have an account yet? Register yourself now and be a part of our community!