Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »Umalo« (25. Februar 2015, 20:34)
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.
|
|
Quellcode |
1 |
<group name="menu"> set(scene_list,get(scene.name)); <group name="menu_item_1" item_text=" • scene_list[0] " linkedscene="scene_list[0]" /> |
|
|
Quellcode |
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 --> |
|
|
Quellcode |
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 --> |
|
|
Quellcode |
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.
Zitat
<group name="menu_item_1" item_text=" • #Menu item #01 " execute="loadscene(pano9);looktohotspot(spotpoint32);" />
We were trying to list all scene titles in the menu as menu items. Now you are talking about hotspots? I think you want to say menu elements right? Best would be for you to contact me via mail as now I don't know how exactly your code looks like so I can't assist you like that. Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »VinzVideo« (20. August 2015, 20:49)
|
|
Quellcode |
1 |
execute(); menu_close(); |