Combobox.js with custom icon instead first item ?

  • Hi, I'm trying to replace the default dropdown combobox first item by an icon to open the list :

    The icon opens the list but the default dropdown button is still visible... is there a way not to display it ?

    Thanx !

  • Hi,
    I pasted the combobox plugin as it appears in the example in a VT created with krpano tools.

    <addIdItem(item1, 'Item 1', trace(Item 1 clicked) );
    addIdItem(item2, 'Item 2', trace(Item 2 clicked) );
    addIdItem(item3, 'Item 3', trace(Item 3 clicked) );
    ...
    </action>
    The plugin displays, but I don't know how to make it load the panoramas.
    I am a beginner and I dont know much about scripting and languages(XML, java,...)



  • Hi,

    I pasted the combobox plugin as it appears in the example in a VT created with krpano tools.

    I'm not sure if I understand right - is your question also about to hide the combobox and show a custom icon or about general usage?
    for general usage I would recommend the plugin documentation:
    https://krpano.com/plugins/combobox/#top

    if you were adding the combobox to a tour that was build with the MAKE VTOUR droplets - then also add - keep="true" - to the <plugin> element to avoid that the combobox plugin will be removed when the first scene will be loaded,

    best regards,
    Klaus

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!