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.

Kabkee

Trainee

  • "Kabkee" started this thread

Posts: 82

Location: South Korea

Occupation: South Korea

  • Send private message

1

Thursday, June 7th 2018, 8:35am

Combobox Plugin Actions.

Hi. Klaus,

I've found different name of action from the documentation.
The action name is "selectnameditem"
The document says "selectItemByName", but the div element says "selectnameditem"

I found another action named 'selectiditem"
The doc mentioned nothing about the action.

I hope the next update on the doc, please revise those issues.
:)

Kabkee.

2

Thursday, June 14th 2018, 7:53pm

Hi,

sorry, but I don't know what you mean or to what you refer...?

You can please post some links or text parts?

Best regards,
Klaus

Kabkee

Trainee

  • "Kabkee" started this thread

Posts: 82

Location: South Korea

Occupation: South Korea

  • Send private message

3

Friday, June 15th 2018, 1:26am

Hi,

According to the krpano document " https://krpano.com/plugins/combobox/#selectitembyname "
It says the action name to select comobox, "selectItemByName".
However, It doesn't work because there's no such action in the krpano combobox plugin actually.

After executing the following line, I confirmed the actual function names.

"console.info( krpano.get(layer[combobox].sprite) ); "

then, I got different function(action) names like - selectnameditem, selectiditem.


selectNamedItem function(action) works like selectItemByName.
selectItem function(action) is not listed on the document in the page of "https://krpano.com/plugins/combobox"


I hope this post make sense for you :(
Hi,

sorry, but I don't know what you mean or to what you refer...?

You can please post some links or text parts?

Best regards,
Klaus

4

Friday, June 15th 2018, 10:53am

However, It doesn't work because there's no such action in the krpano combobox plugin actually.
These actions are there and working!
The combobox.xml is a readable xml - just have a look into it!


"console.info( krpano.get(layer[combobox].sprite) ); "
The 'sprite' is the internal div element, any stuff there is not for direct usage...


Btw - do you maybe use the old combobox.js and not the new combobox.xml?
But the APIs itself would be the same - here the documentation of the old plugin:
https://krpano.com/plugins/combobox/?version=116

Best regards,
Klaus

Kabkee

Trainee

  • "Kabkee" started this thread

Posts: 82

Location: South Korea

Occupation: South Korea

  • Send private message

5

Tuesday, June 19th 2018, 10:23am

Hi, Klaus,
Thank you :)


My fault. lol.
I've been using krpano for over 2years.
But I've never seen the method of including combobox.xml before :(

OK. right.
I've using old-fashioned method - declaring combobox.swf and combobox.js inline style.
I will adopt new style next time :)




Btw - do you maybe use the old combobox.js and not the new combobox.xml?
But the APIs itself would be the same - here the documentation of the old plugin:
https://krpano.com/plugins/combobox/?version=116

6

Tuesday, June 19th 2018, 1:43pm

Hi,

it's new since 1.19-pr13 - here the release notes:
krpano 1.19-pr13

Is an alternative / replacement to the combobox.swf / combobox.js because it allows more control and more customizing.

Best regards,
Klaus