Change link in combobox example

  • Hi, My name is Carlos and I am new to this forum. I hope to help and learn as much as possible. *wink*
    I tried to link to another url from the combobox example through the file "scenes-with-combobox.xml" and I have not been able *cry*
    My question is this:
    Is there a way to link to other websites from this menu?
    Perhaps the problem is in combobox.swf and combobox.js

    3 Mal editiert, zuletzt von carlos (18. Oktober 2012 um 19:07)

  • Hi,

    such functionality is not related to the combobox plugin, links/urls can be opened anytime by using the openurl() action.
    And this can be also done in the click event of an combobox item of course.

    e.g.

    Code
    <plugin name="combobox" url="combobox.swf" alturl="combobox.js" ...>
    	<item name="item1" caption="Item 1" onclick="openurl('http://....');" />
    	...
    </plugin>

    But one note - when testing locally there are same Flashplayer security limitations that avoids opening url!
    See the local usage notes for more details and how to change that limitations:
    https://krpano.com/docu/localusage/#top

    Best regards,
    Klaus

Jetzt mitmachen!

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