SOLVED: problem with addplugin in JS
-
-
-
2Piotr
thanks for the answer, but maybe you misunderstood me
I want to create a new krpano plugin, with the name specified js variable: element of array my_var[1] or simply my_var, anyway -
Ohh
good luck then
Piotr
-
according to the documentation, this operation is not possible
I really want to make a mistake in this -
Hi
You want to create a name by downloading it from the JS? By some JS functions?
Why not us jsget methot or ?
eg:
unless you want to do something else...
Piotr
-
Hi, Piotr,
sorry because of the incomplete information in my post
Yes, all actions should be performed by means of JS+krpano within the JS scriptI think that I will get the result I needed a little bit different
Thank you -
-
I'm glad that you did it
Kind regards
Piotr
-
-
Hi,
this is a Boolean thingy..
true is also 1
false is also 0so you can do set(check, true); or set(check, 1);
i think this is what is happening.
Hope it helps,
Tuur
-
hello, Tuur
you're absolutely right, but I thought that krpano.get("Name_Logical_Var") distorts the type of a variable
but I checked more closely and realized that if there was a logic to krpano type - it is convert correctly in JS
it turned out that everything is working properly
Thank you for your attention
Participate now!
Don’t have an account yet? Register yourself now and be a part of our community!