Sie sind nicht angemeldet.

Lieber Besucher, herzlich willkommen bei: krpano.com Forum. Falls dies Ihr erster Besuch auf dieser Seite ist, lesen Sie sich bitte die Hilfe durch. Dort wird Ihnen die Bedienung dieser Seite näher erläutert. Darüber hinaus sollten Sie sich registrieren, um alle Funktionen dieser Seite nutzen zu können. Benutzen Sie das Registrierungsformular, um sich zu registrieren oder informieren Sie sich ausführlich über den Registrierungsvorgang. Falls Sie sich bereits zu einem früheren Zeitpunkt registriert haben, können Sie sich hier anmelden.

61

Samstag, 4. März 2023, 17:14

Menu update v2.14

Hi all! Here comes the new version of krpano v1.21 *thumbsup*
  • Due to large changes in krpano v1.21, the previous version of the menu does not work with krpano v1.21. Basically this version is an adaptation for krpano v1.21.
  • Plugin connection changed
  • Correction of minor bugs.
You can download a demo version of the plugin with an example and test it on your tour.
This is a fully working version, except that there is a "demo version" inscription

Menu v2.14

62

Samstag, 22. April 2023, 15:19

Is it possible to update my old version of Menu 2.xxx?
my old version i bought doens´t work in KRpano 1.21...

63

Samstag, 22. April 2023, 16:38

Is it possible to update my old version of Menu 2.xxx?
my old version i bought doens´t work in KRpano 1.21...

Wrote you in private messages

Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »San7« (22. April 2023, 17:48)


64

Sonntag, 23. April 2023, 11:21

hi san7,

Many thanks for the really quick help, the update works just great!
Thank you for your work, for people like me who have very little programming knowledge, the menu plugin is very helpful.

I have two questions though.

1. I entered the path to my logo directly in the code of the XML file.
In earlier versions, couldn't you just click on the default logo and select the image file in the folder?

2. I'm trying desperately to issue a second onclick command.
but it is not saved.
no matter how I type it.

next_menu(); zoomin(209,-198.5,-1093,180,0);
next_menu() zoomin(209,-198.5,-1093,180,0);

If I save the file, the command after "next_menu()" disappears again.

here is the link to the panorama so you can see what I mean.
Click on "Automobile/ Audi 100 Coupe" in the menu
When you click on "Automobile" a new tab opens in the menu, but the view in the file should also change.
Just like when you click on "Audi 100", but with different coordinates.

link to my tour

kme

Fortgeschrittener

Beiträge: 310

Wohnort: Belgium

Beruf: Long time coder, product manager and 3D enthousiast

  • Nachricht senden

65

Sonntag, 23. April 2023, 11:49

Nice tour!! *w00t* *w00t* *thumbsup*

66

Sonntag, 23. April 2023, 11:57

Not without your help! *g* *thumbsup*

67

Sonntag, 23. April 2023, 12:03


1. I entered the path to my logo directly in the code of the XML file.
In earlier versions, couldn't you just click on the default logo and select the image file in the folder?

2. I'm trying desperately to issue a second onclick command.
but it is not saved.
no matter how I type it.

next_menu(); zoomin(209,-198.5,-1093,180,0);
next_menu() zoomin(209,-198.5,-1093,180,0);

If I save the file, the command after "next_menu()" disappears again.

here is the link to the panorama so you can see what I mean.
Click on "Automobile/ Audi 100 Coupe" in the menu
When you click on "Automobile" a new tab opens in the menu, but the view in the file should also change.
Just like when you click on "Audi 100", but with different coordinates.

Hello! Thanks for the answer! Glad the plugin is helpful!
I didn't quite understand question 1. The picture is selected in the style editor panel.
Yes, I understand what you mean, I'll fix it.
You can enter your code manually in the save_settings.xml file
In editor mode open the style editor and it will contain the name of the layer where you want to add your onclick code.
»San7« hat folgende Bilder angehängt:
  • ww.jpg
  • 33.jpg

68

Sonntag, 23. April 2023, 12:08

The tour is cool ! *thumbsup*

69

Sonntag, 23. April 2023, 12:45

Thank you very much!, but that was only possible thanks to you and kme.
I'm a photographer and a hobby 3d modeler, so I have a lot of fun creating things like this.
And what is better than your own homepage. ;-)

I can't really program though.
I understand what you write there and can assign it, but I couldn't write it myself.


Many things are still missing, there are still errors in the lightmap, e.g.
Blender and I are a bit in a "war" about the normal 3d file in the OBJ export.

I'll try as you wrote, thanks for everything! *thumbsup*

70

Sonntag, 23. April 2023, 13:42


next_menu(); zoomin(209,-198.5,-1093,180,0);
next_menu() zoomin(209,-198.5,-1093,180,0);

If I save the file, the command after "next_menu()" disappears again.

I checked it now and I have the action that I add after next_menu();
*question*
»San7« hat folgendes Bild angehängt:
  • 11.jpg

71

Montag, 24. April 2023, 17:43

very strange...

So when it came to the logo, I think I realized what wasn't right.
There is no path to the logo specified in your original xml file, so of course none is displayed.
I entered the path to the logo directly in the XML file, now it is also displayed in the GUI and you can click on it.

Actions that I enter manually into the XML file (next_menu() zoomin(209,-198.5,-1093,180,0);) are then also displayed to me after by saving the xml file and resetting the browser.
I don't want to give any wrong information and I'll try that again in peace.

I'll let you know in any case!

72

Freitag, 6. Oktober 2023, 06:01

How to change title_text_1 by krpano instance ? i try

Source code

1
krpano().set("layer[title_text_1].html","OVERHEAD VIEW") 
but it's not work
*thumbup* Woody *thumbup* KEEP MOVING FORWARD *thumbup*

73

Freitag, 6. Oktober 2023, 06:47

How to change title_text_1 by krpano instance ? i try

Source code

1
krpano().set("layer[title_text_1].html","OVERHEAD VIEW") 
but it's not work

hi, I didn't quite understand the question.
Here is the value setting at startup

This fits into the menu button and the label in this button changes dynamically when the group nested in the button is opened

74

Freitag, 6. Oktober 2023, 08:44

How to change title_text_1 by krpano instance ? i try

Source code

1
krpano().set("layer[title_text_1].html","OVERHEAD VIEW") 
but it's not work

hi, I didn't quite understand the question.
Here is the value setting at startup

This fits into the menu button and the label in this button changes dynamically when the group nested in the button is opened
I use I18 language to change language, with menu lists that are layers I can use set("layer[txt_1_2].html","HIGH VIEW") to change the language, but with the title_text_1 line in the settings I don't know how to change it. change it
*thumbup* Woody *thumbup* KEEP MOVING FORWARD *thumbup*

75

Freitag, 6. Oktober 2023, 14:56

How to change title_text_1 by krpano instance ? i try

Source code

1
krpano().set("layer[title_text_1].html","OVERHEAD VIEW") 
but it's not work

hi, I didn't quite understand the question.
Here is the value setting at startup

This fits into the menu button and the label in this button changes dynamically when the group nested in the button is opened
I use I18 language to change language, with menu lists that are layers I can use set("layer[txt_1_2].html","HIGH VIEW") to change the language, but with the title_text_1 line in the settings I don't know how to change it. change it


title_text_1 is not a layer and you will not be able to change the title dynamically if there is an attachment in the menu, because the text from the button with the attachment will be dynamically written to the title layer.
You can try in the file menu/plugins/layer_menu.xml <layer name="back_txt"

76

Freitag, 13. Oktober 2023, 10:05

How to change title_text_1 by krpano instance ? i try

Source code

1
krpano().set("layer[title_text_1].html","OVERHEAD VIEW") 
but it's not work

hi, I didn't quite understand the question.
Here is the value setting at startup

This fits into the menu button and the label in this button changes dynamically when the group nested in the button is opened
I use I18 language to change language, with menu lists that are layers I can use set("layer[txt_1_2].html","HIGH VIEW") to change the language, but with the title_text_1 line in the settings I don't know how to change it. change it


title_text_1 is not a layer and you will not be able to change the title dynamically if there is an attachment in the menu, because the text from the button with the attachment will be dynamically written to the title layer.
You can try in the file menu/plugins/layer_menu.xml
Thank You ,Let me try *love* *love*

*thumbup* Woody *thumbup* KEEP MOVING FORWARD *thumbup*

77

Freitag, 13. Oktober 2023, 10:22


can you tell me know the name of this layer ( layer language in bottom menu )? i want to change content inside it by krpano instance
*thumbup* Woody *thumbup* KEEP MOVING FORWARD *thumbup*

78

Freitag, 13. Oktober 2023, 10:24

*thumbup* Woody *thumbup* KEEP MOVING FORWARD *thumbup*

79

Freitag, 13. Oktober 2023, 10:57


Hello, layer_menu.xml layer name="bottom_menu_sm" is a container for a language switch button. You can customize your buttons in it or simply turn off the layer, make it invisible, etc.
layer name="lang_buttom_men" - Language change button.