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.

1

Thursday, October 18th 2012, 6:16pm

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

This post has been edited 3 times, last edit by "carlos" (Oct 18th 2012, 7:07pm)


2

Wednesday, October 24th 2012, 12:23pm

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.

Source code

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

Similar threads