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.
This post has been edited 1 times, last edit by "Umalo" (Feb 25th 2015, 8:34pm)
thx for the help but i found the solution myself.Explore settings and menu parent attribute. If you are using krpano vtour skin than default settings is to be used. Orange button is there if you are not using vtourskin. Can you show me how meju button looks like...
EDIT1: Additional info. If menu is correctly parented to skin_control_bar (in menu settings) and you are using vtourskin you can trigger menu up/down by any button your want, just add onclick="menu_toggle();"
Example in package is just an way on how you can do that. See att.index.php?page=Attachment&attachmentID=1563
If you still have troubles send me your code (on my mail) to see where issue might come from.
![]() |
Source code |
1 |
<group name="menu"> set(scene_list,get(scene.name)); <group name="menu_item_1" item_text=" • scene_list[0] " linkedscene="scene_list[0]" /> |
![]() |
Source code |
1 2 |
for(set(menu_item_y,1), menu_item_y LE group[menu].group.count, inc(menu_item_y), sub(scene_number_loop,menu_item_y,1); <!-- This is new line --> |
![]() |
Source code |
1 2 |
<!-- copy(layer[%menu_0_out].linkedscene,group[menu].group[get(menu_item_2_change)].linkedscene); --> copy(layer[%menu_0_out].linkedscene,scene[get(scene_number_loop)].name);<!-- Coment upper line and add this new line --> |
![]() |
Source code |
1 2 3 4 |
<!-- txtadd(new_html,get(group[menu].group[get(menu_item_2_change)].item_text)); --> <!-- set(layer[%menu_0_item].html,get(new_html)); set(new_html,''); --> <!-- copy(layer[%menu_0_item].html,group[menu].group[get(menu_item_2_change)].item_text); --> copy(layer[%menu_0_item].html,scene[get(scene_number_loop)].title);<!-- Coment upper 3 lines and add this new line --> |
Now, I try to fill "execute=laodscene();looktohotspot()" automatically, but it doesn't work.
Quoted
<group name="menu_item_1" item_text=" • #Menu item #01 " execute="loadscene(pano9);looktohotspot(spotpoint32);" />
This post has been edited 1 times, last edit by "VinzVideo" (Aug 20th 2015, 8:49pm)
![]() |
Source code |
1 |
execute(); menu_close(); |