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.

1

Friday, March 27th 2020, 5:11pm

Combobox visible or not visible

Hi

How can I put a combobox visible or not visible when I load a new scene?

onclick="loadscene(scene_p1);set(layer[rutas].visible, false);set(layer[menu_pano].visible, true);set(combobox[cbdesigns].visible, false);" />


this does not work....

Thanks

spacerywirtualne

Professional

Posts: 980

Location: Poland, Europe

Occupation: krpano developer : virtual tours

  • Send private message

2

Friday, March 27th 2020, 7:58pm

maybe...

Source code

1
set(layer[cbdesigns].visible, false);


combobox -> layer

Piotr
Your own online, cloud tool for creating virtual tours - www.cms4vr.com

facebook page :: youtube

cms4vr team *thumbsup*

3

Friday, March 27th 2020, 8:54pm

set(layer[cbdesigns].visible, false);

no work


best

spacerywirtualne

Professional

Posts: 980

Location: Poland, Europe

Occupation: krpano developer : virtual tours

  • Send private message

4

Friday, March 27th 2020, 11:52pm

I test it and it's work OK. Maybe you have a wrong combobox name?
Your own online, cloud tool for creating virtual tours - www.cms4vr.com

facebook page :: youtube

cms4vr team *thumbsup*

5

Saturday, March 28th 2020, 12:39am

yes it works well!!

Thanks
Best *thumbsup* *thumbsup*