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.

  • 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"[/size]


    [size=10]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

  • 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

  • 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

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!