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.

Umalo

Professional

  • "Umalo" started this thread

Posts: 1,046

Location: Osijek, Croatia, EU

  • Send private message

1

Tuesday, April 29th 2014, 9:48pm

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]

This post has been edited 1 times, last edit by "Umalo" (May 6th 2014, 5:58pm)


Arsdezi

Intermediate

Posts: 174

Location: Ukraine

  • Send private message

2

Wednesday, April 30th 2014, 1:43am

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*

Umalo

Professional

  • "Umalo" started this thread

Posts: 1,046

Location: Osijek, Croatia, EU

  • Send private message

3

Wednesday, April 30th 2014, 2:37pm

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

gaurevkohli

Beginner

Posts: 3

Location: Chandigarh, India

  • Send private message

4

Monday, May 12th 2014, 7:07am

Awesome work...

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

wilsan

Trainee

Posts: 65

Location: Nederland

Occupation: Logistics Specialist – Planning & Logistics

  • Send private message

5

Sunday, May 18th 2014, 12:00pm

Thanks Umalo,

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


Regards,
Wilsan

6

Monday, June 30th 2014, 11:36am

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

Monday, June 30th 2014, 12:28pm

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 :

Source code

1
looktohotspot(pointdevue1)


Thanks for your help. *smile*

8

Monday, June 30th 2014, 12:30pm

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. ;-)

Umalo

Professional

  • "Umalo" started this thread

Posts: 1,046

Location: Osijek, Croatia, EU

  • Send private message

9

Monday, June 30th 2014, 1:16pm

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 :

Source code

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:

Source code

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


- Line 166 ()
From:

Source code

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

To:

Source code

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:

Source code

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:

Source code

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

Umalo

Professional

  • "Umalo" started this thread

Posts: 1,046

Location: Osijek, Croatia, EU

  • Send private message

10

Monday, June 30th 2014, 1:20pm

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

Monday, June 30th 2014, 1:50pm

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

Monday, June 30th 2014, 1:57pm

Oh sorry for my answer, I found the solution.

Thanks a lot it works now. *rolleyes*

Umalo

Professional

  • "Umalo" started this thread

Posts: 1,046

Location: Osijek, Croatia, EU

  • Send private message

13

Monday, June 30th 2014, 2:41pm

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

14

Monday, June 30th 2014, 2:45pm

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

Monday, June 30th 2014, 2:46pm

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*

Umalo

Professional

  • "Umalo" started this thread

Posts: 1,046

Location: Osijek, Croatia, EU

  • Send private message

16

Monday, June 30th 2014, 3:09pm

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

Tuesday, July 1st 2014, 9:37am

Here is my code :

Quoted

<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

Quoted

<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.

This post has been edited 1 times, last edit by "kealkeal" (Jul 1st 2014, 11:41am)


18

Tuesday, July 1st 2014, 11:24am

Ok I've solve the problem.

Here is the code :

Quoted

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

This post has been edited 1 times, last edit by "kealkeal" (Jul 1st 2014, 11:41am)


19

Tuesday, July 1st 2014, 11:40am

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

Here is the code :

Quoted

<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

Tuesday, July 1st 2014, 11:45am

Solution find :

Quoted

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

Similar threads