Sie sind nicht angemeldet.

Lieber Besucher, herzlich willkommen bei: krpano.com Forum. Falls dies Ihr erster Besuch auf dieser Seite ist, lesen Sie sich bitte die Hilfe durch. Dort wird Ihnen die Bedienung dieser Seite näher erläutert. Darüber hinaus sollten Sie sich registrieren, um alle Funktionen dieser Seite nutzen zu können. Benutzen Sie das Registrierungsformular, um sich zu registrieren oder informieren Sie sich ausführlich über den Registrierungsvorgang. Falls Sie sich bereits zu einem früheren Zeitpunkt registriert haben, können Sie sich hier anmelden.

1

Donnerstag, 18. Oktober 2012, 18:16

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. ;-)
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

Dieser Beitrag wurde bereits 3 mal editiert, zuletzt von »carlos« (18. Oktober 2012, 19:07)


2

Mittwoch, 24. Oktober 2012, 12:23

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.

Quellcode

1
2
3
4
<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:
http://krpano.com/docu/localusage/#top

Best regards,
Klaus

Ähnliche Themen