Sie sind nicht angemeldet.

1

Dienstag, 29. April 2014, 21:48

Bottom Menu Plugin

Bottom Menu Plugin is published: http://krpano.com/plugins/userplugins/bottommenu/#top
This thread will be used for plugin related discussions.

[Preview]


[Predefined Color sets]

Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »Umalo« (6. Mai 2014, 17:58)


2

Mittwoch, 30. April 2014, 01:43

Off top:
Ooh, Umalo!
That Is not interesting! because I always don't see your images and all data from you!
*g* Because your administrator has a phobia that's necessarily hacked residents from my country.... and nothing thought up as to limit full access) is not serious *tongue*
Panoreal — to make and see this wonderful world! *whistling*

3

Mittwoch, 30. April 2014, 14:37

Hi Arsdezi

It is not against you or your country. My country was in similar situation 20 years ago and I know what your people are going through. I can only sympathize your residents.

It goes on specific IP ranges that are used to do attacks to other servers. When my ISP notify us that this or that attack was blocked and that we should black list some ip ranges, what else can we do.
I told you already or to contact me via PM or mail and I will provide you with all what you need. You can also use web proxy or anonimizers to see the content.
Regards
Umalo

4

Montag, 12. Mai 2014, 07:07

Awesome work...

man this is good... keep up the good work... really liked it... *smile* *smile* *smile* *smile*

wilsan

Schüler

Beiträge: 66

Wohnort: Nederland

Beruf: Logistics Specialist – Planning & Logistics

  • Nachricht senden

5

Sonntag, 18. Mai 2014, 12:00

Thanks Umalo,

Great plugin, it works fine, very useful and easy. *thumbup*
Many many thanks Umalo. *thumbsup*


Regards,
Wilsan

6

Montag, 30. Juni 2014, 11:36

Hi,

Is there a way to change the menu position into the scene ?

I'd like to define by my own the position.

Thanks for your feedback. *rolleyes*

7

Montag, 30. Juni 2014, 12:28

Is there a way to look to a spot.

For the moment, we only can laod a scene.

I'd like to use the code :

Quellcode

1
looktohotspot(pointdevue1)


Thanks for your help. *smile*

8

Montag, 30. Juni 2014, 12:30

Hi,

Is there a way to change the menu position into the scene ?

I'd like to define by my own the position.

Thanks for your feedback. *rolleyes*
Ok I've found the solution.

Open the "mune_bottom.xml" file.

Check line N°50 and change the value for "align".

Hope it help. ;-)

9

Montag, 30. Juni 2014, 13:16

Is there a way to look to a spot.
For the moment, we only can laod a scene.
I'd like to use the code :

Quellcode

1
looktohotspot(pointdevue1)

Thanks for your help. *smile*


With small code adaptation is can be done:

File: menu_bottom.xml from plugin package
(Line 32 and 37) -> Change in <style name="item_outer_style" ....
onclick to:

Quellcode

1
onclick="if(linkedscene,loadscene(get(linkedscene),null,MERGE,BLEND(1)); wait(0); menu_close();,execute(); );"


- Line 166 ()
From:

Quellcode

1
copy(layer[%menu_0_out].linkedscene,group[menu].group[get(menu_item_2_change)].linkedscene);

To:

Quellcode

1
if(group[menu].group[get(menu_item_2_change)].linkedscene,copy(layer[%menu_0_out].linkedscene,group[menu].group[get(menu_item_2_change)].linkedscene);,copy(layer[%menu_0_out].execute,group[menu].group[get(menu_item_2_change)].execute););


- Than e.g.
Line(250 & 251) from:

Quellcode

1
2
<group name="menu_item_1"  item_text="&#x00A0;• Menu item #01			" 		linkedscene="scene_01"  />      
<group name="menu_item_2"  item_text="&#x00A0;• Menu item #02	long menu item name" 		linkedscene="scene_02"  />     

to:

Quellcode

1
2
<group name="menu_item_1"  item_text="&#x00A0;• Menu item #01			" 		execute="showlog(true);"  />      
<group name="menu_item_2"  item_text="&#x00A0;• Menu item #02	long menu item name" 		execute="showlog(false);"  />


Hope you can do this now by your own. I testted and it open close log for testing not only linking to scene but executing any command.
regards
Umalo

10

Montag, 30. Juni 2014, 13:20

Hi,
Is there a way to change the menu position into the scene ?
I'd like to define by my own the position.
Thanks for your feedback. *rolleyes*
Ok I've found the solution.
Open the "mune_bottom.xml" file.
Check line N°50 and change the value for "align".
Hope it help. ;-)


There is also option that you align the menu to any other plugin you want. For example I make one button outside the skin.
If you change 5th line to:
menu_parent=""
Than you will see this button and menu aligned to it.

11

Montag, 30. Juni 2014, 13:50

Thanks for your answer but I'm a little bit lost. I'm new on coding so ... *unsure*

Could you please make an example with the possibility to access to a hostspot from the menu ?

Example :

item 1 : go to hotspot N°1
item 2 : go to hotspot N°2
...

I really need to use :
looktohotspot(pointdevue1)
looktohotspot(pointdevue2)
...

Thanks

12

Montag, 30. Juni 2014, 13:57

Oh sorry for my answer, I found the solution.

Thanks a lot it works now. *rolleyes*

13

Montag, 30. Juni 2014, 14:41

attached,
Note: I placed hotspot in this xml. You should have them in your tour.xml
menu_bottom.xml

14

Montag, 30. Juni 2014, 14:45

I've another request :

Here is my example :

I' ve two scenes.

Scene_1
Scene_2

I have install the "menu_bottom" so it is visible in "Scene_1" and "Scene_2".

In the Scene_1 I have my hotspot.

How, from the Scene_2 can i go directly to my hotspot that are in Scene_1 ?

I try some solution like :

execute="load(Scene_1);looktohotspot(pointdevue1);
execute="go(Scene_1);looktohotspot(pointdevue1);

But it dosen't work .... *unsure*

How can it be solve ?

15

Montag, 30. Juni 2014, 14:46

attached,
Note: I placed hotspot in this xml. You should have them in your tour.xml
index.php?page=Attachment&attachmentID=1388

Yes Umalo, thanks for your answer I found it by my self. I'm in progress ........ *rolleyes*

16

Montag, 30. Juni 2014, 15:09

If you want to combine loadscene and looktohotspotI propose first to trigger looktohotspotand than loadscene
"go(Scene_1);" in your code is not right command. At the end seams you saw my adapted code and can continue from that point on.
regards
Umalo

17

Dienstag, 1. Juli 2014, 09:37

Here is my code :

Zitat

<group name="menu_item_1" item_text="1 - Point de vue remarquable 1" execute="load(Scene_1);looktohotspot(pointdevue1);set(autorotate.enabled,false);flyin(cible);delayedcall(5,action(cachercible1););tween(hotspot[pointdevue1].alpha,1.0)" />
OR

Zitat

<group name="menu_item_1" item_text="1 - Point de vue remarquable 1" execute="looktohotspot(pointdevue1);load(Scene_1);set(autorotate.enabled,false);flyin(cible);delayedcall(5,action(cachercible1););tween(hotspot[pointdevue1].alpha,1.0)" />
But it doesn't work ... *unsure*

Thanks for your help.

Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »kealkeal« (1. Juli 2014, 11:41)


18

Dienstag, 1. Juli 2014, 11:24

Ok I've solve the problem.

Here is the code :

Zitat

<group name="menu_item_1" item_text="1 - Point de vue remarquable 1" execute="loadscene(Scene_1);looktohotspot(pointdevue1);" />
;-)

Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »kealkeal« (1. Juli 2014, 11:41)


19

Dienstag, 1. Juli 2014, 11:40

My project is using the "panoevents" event to show an image onstart.

Here is the code :

Zitat

<events name="panoevents"
onloadcomplete="delayedcall(introimage, 2.0, if(layer[introimage], hideintroimage() ); ); set(events[panoevents].onloadcomplete,null);"
onremovepano="stopdelayedcall(introimage);"
/>

<layer name="introimage"
url="introimage.png"
align="center"
onloaded="set(alpha,0); tween(alpha,1.0);"
onclick="hideintroimage();"
/>

<action name="hideintroimage">
if(layer[introimage].enabled,
set(layer[introimage].enabled,false);
tween(layer[introimage].alpha, 0.0, 0.5, default, removelayer(introimage));
);
</action>
How can I disabled this event when I click on the Item into my Group ?

Each time I load the Scene_1 the event "panoevents" is laoding too ... not really good.

Thanks for your help. *smile*

20

Dienstag, 1. Juli 2014, 11:45

Solution find :

Zitat

<group name="menu_item_1" item_text="1 - Point de vue remarquable 1" execute="loadscene(Scene_1);removelayer(introimage);looktohotspot(pointdevue1);" />
;-)