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

Wednesday, March 2nd 2011, 4:15am

Functional navigation buttons for iPad?

Is there an updated set of navigation buttons that will function with the iPad/iPhone?

My pano will launch fullscreen on my iPad but then none of the buttons work to reduce back to the embedded page pano.

http://www.mosscreekmedia.com/2011/03/timber-frame-home/

mindlessboss

Professional

Posts: 1,081

Location: Russia, Kaliningrad

  • Send private message

2

Wednesday, March 2nd 2011, 5:35am

Hello!
1)
use <krpano version="1.0.8"> only in main XML
no need in included xmls

2)
you set <contextmenu fullscreen="false">
onenterfullscreen - not happend

3)
In this code:

<plugin name="openfs" style="button" x="+160" crop="280|0|40|40" onovercrop="280|40|40|40" ondowncrop="280|80|40|40" onhover="showtext(Fullscreen, buttonstyle);" onclick="set(fullscreen,true);" visible="true" />

<plugin name="closefs" style="button" x="+160" crop="320|0|40|40" onovercrop="320|40|40|40" ondowncrop="320|80|40|40" onhover="showtext(Exit Fullscreen,buttonstyle);" onclick="set(fullscreen,false);" visible="false" />

try
set(plugin[openfs].visible,false); set(plugin[closefs].visible,true);
directly in onclick button evet

<plugin name="openfs" style="button" x="+160" crop="280|0|40|40" onovercrop="280|40|40|40" ondowncrop="280|80|40|40" onhover="showtext(Fullscreen, buttonstyle);"
onclick="set(fullscreen,true);set(plugin[openfs].visible,false); set(plugin[closefs].visible,true);"
visible="true" />

<plugin name="closefs" style="button" x="+160" crop="320|0|40|40" onovercrop="320|40|40|40" ondowncrop="320|80|40|40" onhover="showtext(Exit Fullscreen,buttonstyle);"
onclick="set(fullscreen,false);set(plugin[openfs].visible,true); set(plugin[closefs].visible,false);" visible="false" />

Hope this help!
Regards!
VRAP - desktop VR content player based on krpano.
Common tasks in one place in one click! Discussion thread
DOWNLOAD for MAC
DOWNLOAD for WIN

This post has been edited 1 times, last edit by "mindlessboss" (Mar 2nd 2011, 8:14am)


3

Thursday, March 3rd 2011, 3:01am

Sorry, I don't really follow how you mean to edit the files (I'm not that familiar with action scripting)

mindlessboss

Professional

Posts: 1,081

Location: Russia, Kaliningrad

  • Send private message

4

Thursday, March 3rd 2011, 4:26am

;-) it's not ActionScript, this code is in your XML.


If, you wish, you can send your tour to me (all files)
and i will try to fix it and send fixed back to you.

Regards!
VRAP - desktop VR content player based on krpano.
Common tasks in one place in one click! Discussion thread
DOWNLOAD for MAC
DOWNLOAD for WIN

VN2011

Professional

Posts: 1,336

Location: Duluth MN

  • Send private message

5

Thursday, March 3rd 2011, 4:31am

1)
use <krpano version="1.0.8"> only in main XML
no need in included xmls


i dont think that is true. you need

<krpano version="1.0.8">
</krpano>

in every xml including the includes. or it will not parse on the iphone. see this thread
why would this break the xml

mindlessboss

Professional

Posts: 1,081

Location: Russia, Kaliningrad

  • Send private message

6

Thursday, March 3rd 2011, 6:27am

Wow
i say just like you
"wow that is it. thank you michel. i have never had to have <krpano version="1.0.8"> and </krpano> tags on the included xmls in the past."
take into consideration!



Thanks a lot!
VRAP - desktop VR content player based on krpano.
Common tasks in one place in one click! Discussion thread
DOWNLOAD for MAC
DOWNLOAD for WIN

VN2011

Professional

Posts: 1,336

Location: Duluth MN

  • Send private message

7

Thursday, March 3rd 2011, 3:02pm

<krpano version="1.0.8"> and </krpano>


only needed if you want it to work on idevices. but yeah that was a hard one to figure out.