You are not logged in.

> The forum rules have been updated. Please take a moment to read them.


#1 2012-11-11 20:26:39

Maoartland
New member
Registered: 2012-11-11
Posts: 1

Navigation ''Next''

Hi fellow pano users

Does anyone know if there is a way to navigate from pano to pano using navigation bar (fixed icon, not hotspots)?
< Previous / Next > . Like in the preview window in panotour
I have already modified the navigation template but can't figure out the action.
loadpano is the one but don't know about next/previous

found in krpano doc:

fonction: loadpano
xmlpath (for loadpano)
The path/url of the new pano xml file to be loaded (use null for none).
When a relative path will be used then the file will be loaded from the basedir folder, which is %FIRSTXML% by default. That means that the paths in all loadpano calls are relative to the first loaded xml file.

i guess it would look like this:

        <plugin name="loadnext" 
            url="$(STYLEDIR)/btn_nxt.png"
            width="40"
            height="prop"
            keep="true"
            align="bottom"
            x="0"   
            y="$(MARGIN)"
            onclick="action(loadpanonext);"
            crop="0|0|$(MENU_RESOURCE_WIDTH)|$(MENU_RESOURCE_WIDTH)"
            onovercrop="0|$(MENU_RESOURCE_WIDTH)|$(MENU_RESOURCE_WIDTH)|$(MENU_RESOURCE_WIDTH)"
            onover=""
            onout=""
    />
   
    <action name="loadpanonext">
set(plugin[loadpano].next,true);
[......]

    </action>

What do you think?
Any idea?

Why do i want that?
Just an other way to navigate.. Ideal if you work or visit on big tour.
Instead of having to find hot spot or open the navigation bar/navigate through/etc... to many clicks..
As well, it is a way to be sure to have seen all the pics.. witch can be tricky when tour is over 20
The one i am working on has 89 pics.
I feel it could improve navigation greatly, especially for visitors not used to Vt...

Thanks in advance
Steph

Offline

 

#2 2012-11-12 03:06:44

gkaefer
Member
From: Salzburg
Registered: 2009-06-09
Posts: 2678
Website

Re: Navigation ''Next''

ptp 2.x will have this feature.
if you own ptp 1.8 you have an embedded krpano license you can export. and so you can use the krpano package. and newest release does also include  the "next" feature inclusive an tourcreation tool.
Georg

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson