URLs as Menu Items  

This forum is fully dedicated to Panotour / Panotour Pro bug reports as well as feature discussion.
no avatar
Topic author
Posts: 16
Likes: 0 post
Liked in: 0 post
Joined: Sun Sep 06, 2015 1:35 am

URLs as Menu Items

by Trevr62 » Fri Jun 15, 2018 11:06 pm


I have multiple Virtual Tours on line and I'd like to create a new tour where the user can select each tour via a menu. So, basically I want to use URLs as menu items. Is this possible?


User avatar
Kolor Team
Posts: 2802
Likes: 14 posts
Liked in: 130 posts
Joined: Tue Jan 18, 2011 4:05 pm

Re: URLs as Menu Items

by bdd » Mon Jun 18, 2018 3:52 pm

It's not possible directly from Panotour Pro interface .

But it can be done, with some modifications of the generated code .

If you add a "Panorama Menu" in your tour, and then edit the "xxx_skin.xml" file, you'll see that the panorama menu has a quite basic XML description.
You'll "just" have to replace the image used as thumbnail of each item by the thumbnail you want for each linked tour, and change the action done on click by an "open url" one.

For example, here is what you can find in your skin file :

Code: Select all
                  <item name="group_1_item_1"
                     action="invokeKrFunction('mainloadscene', 'pano1271')"

And here is how you cna change the code :

Code: Select all
                  <item name="group_1_item_1"
                     action="invokeKrFunction('openurl', 'http://www.mydomain.com/mypath/mytour.html')"


Who is online

Users browsing this forum: No registered users and 1 guest