![]() |
|
|
|
|
|
||||||||||
|
| User list | Rules | You are not logged in.
Hi,
is there a way to show only a section of thumbnails in thumbnail stack in a tour. for example, say you have rooms, pools and spas in a tour and you have 3 buttons 2 choose from and when you click on rooms to only show the thumbnails of the rooms and hide the thumbs of the spa and pools.
would appreciate it if someone could point me in the right direction..
and i'm not a coder guys
thanks
<plugin name="swop1" url="restsdata/graphics/nav-spaces.png" visible="true" enabled="true" keep="true" align="rightbottom" height="25" width="prop" x="10" y="10" onclick="loadpano(rests0.xml)" onhover="" > </plugin>
<plugin name="swop2" url="restsdata/graphics/nav-pools.png" visible="true" enabled="true" keep="true" align="rightbottom" height="25" width="prop" x="10" y="40" onclick="loadpano(rests5.xml)" onhover="" > </plugin>
<plugin name="swop3" url="restsdata/graphics/nav-rest.png" visible="true" enabled="true" keep="true" align="rightbottom" height="25" width="prop" x="10" y="70" onclick="loadpano(rests10.xml)" onhover="" > </plugin>
<stackthumb name="stackthumb0" pano="rests0.xml" thumburl="restsdata/graphics/rests0_thumbstack.jpg" title="Breeze Bar"/>
<stackthumb name="stackthumb1" pano="rests1.xml" thumburl="restsdata/graphics/rests1_thumbstack.jpg" title="The Café"/>
<stackthumb name="stackthumb2" pano="rests2.xml" thumburl="restsdata/graphics/rests2_thumbstack.jpg" title="Cheers Pub"/>
<stackthumb name="stackthumb3" pano="rests3.xml" thumburl="restsdata/graphics/rests3_thumbstack.jpg" title="Chutneys"/>
<stackthumb name="stackthumb4" pano="rests4.xml" thumburl="restsdata/graphics/rests4_thumbstack.jpg" title="Coffee Stop"/>
<stackthumb name="stackthumb5" pano="rests5.xml" thumburl="restsdata/graphics/rests5_thumbstack.jpg" title="Courtyard Restaurant"/>
<stackthumb name="stackthumb6" pano="rests6.xml" thumburl="restsdata/graphics/rests6_thumbstack.jpg" title="Echo"/>
<stackthumb name="stackthumb7" pano="rests7.xml" thumburl="restsdata/graphics/rests7_thumbstack.jpg" title="The Lagoon"/>
<stackthumb name="stackthumb8" pano="rests8.xml" thumburl="restsdata/graphics/rests8_thumbstack.jpg" title="London Grill"/>
<stackthumb name="stackthumb9" pano="rests9.xml" thumburl="restsdata/graphics/rests9_thumbstack.jpg" title="Nuga Gama"/>
<stackthumb name="stackthumb10" pano="rests10.xml" thumburl="restsdata/graphics/rests10_thumbstack.jpg" title="Tao"/>
<stackthumb name="stackthumb11" pano="rests11.xml" thumburl="restsdata/graphics/rests11_thumbstack.jpg" title="Tao Margarita Bar"/>
<stackthumb name="stackthumb12" pano="rests12.xml" thumburl="restsdata/graphics/rests12_thumbstack.jpg" title="Taprobane"/>
<stackthumb name="stackthumb13" pano="rests13.xml" thumburl="restsdata/graphics/rests13_thumbstack.jpg" title="The Tea Lounge"/>
Offline
... I think that might not be that easy...
You are going to have to create code for each tour individually...
Destiny...
Online
let us know if you can find a way to do it thanks....
Last edited by shane999 (2013-02-15 09:07:21)
Offline
I think I know what you are wanting but I really do not think its possible as a full tour. It might be possible to break it up into separate html files though.... This way you have individual tours with thumbs.
Even that has issues...
Destiny..
Online
Hi.. The main xml normally holds the entire thumb nav data but what you might like to try is....
Create second xy location for the sub xml files. All panos will have the main thumbs so you can navigate the tour.. When you create your tour, the main xml will create all of the tours.. What you need to is remove all the sub thumb links from the main xml and past them into the relevant sub sub xml files, ie, spars..
Basically, when you open your first tour only the main xml thumbs will display to allow you to navigate to the main tours, so when you enter one of these main tours, a second set of thumbs will be available.... Its really just a matter of splitting the thumb nav up from the main xml file. I guess you could keep the xy as is but it might begin to look a bit strange depending where you are in the tour.
Just be aware if you want to edit something on your tour you need to make a copy of your xml to save you doing it all over again...
If you do not follow what I am suggesting, I will draw up a graphic for you.. But I am sure you will .... At least this way its all in one tour...
Destiny..
Online
Thanks.. but its a little difficult for me to understand are you suggesting that i split this bit of code?
<action name="buildstackthumbs">
if(%1 LE %2,
txtadd(thumbdescr, 'stackthumb', %1);
copy(thumb, stackthumb[get(thumbdescr)].thumburl);
txtadd(thumbname,'thumb_',%1);
addplugin(get(thumbname));
set(plugin[get(thumbname)].url , get(thumb));
set(plugin[get(thumbname)].keep , true);
set(plugin[get(thumbname)].align , leftbottom);
set(plugin[get(thumbname)].edge , center);
set(plugin[get(thumbname)].width , 40);
set(plugin[get(thumbname)].height, 20);
set(plugin[get(thumbname)].alpha , 0.8);
if (%1 GE 4, set(reali, 4), set(reali, %1));
mul(plugin[get(thumbname)].x, reali,3);
mul(plugin[get(thumbname)].y, reali,3);
add(plugin[get(thumbname)].x, 30);
add(plugin[get(thumbname)].y, 20);
copy(plugin[get(thumbname)].xsmall, plugin[get(thumbname)].x);
copy(plugin[get(thumbname)].ysmall, plugin[get(thumbname)].y);
add(plugin[get(thumbname)].zorder, 100, %1);
set(plugin[get(thumbname)].effect, glow(0xffffff,1,2,10000));
set(plugin[get(thumbname)].jsborder,'2px solid #ffffff');
set(plugin[get(thumbname)].title,get(stackthumb[get(thumbdescr)].title));
set(plugin[get(thumbname)].thumbpos, %1);
set(plugin[get(thumbname)].linkedpano, get(stackthumb[get(thumbdescr)].pano) );
set(plugin[get(thumbname)].onclick, openstackthumbs(0,%2) );
set(i, %1);
inc(i);
delayedcall(0,buildstackthumbs(get(i),%2));
);
</action>
Offline
You need to keep this code as it is in the main xml.. But you need to copy it an create a second set with a new name and past it into the sub sets xml files...
<action name="buildstackthumbs2">
When you have it all working you can then change the location of the thumbs.. Just to tidy it up..
Its the first code you provided that you need to split..as well as remove those that are not wanted from the main xml set..
This has probably not been attempted before so it will take a bit of playing about and editing...
Its important that the new action have a new name or it will conflict..
Destiny..
<stackthumb name="stackthumb0" pano="rests0.xml" thumburl="restsdata/graphics/rests0_thumbstack.jpg" title="Breeze Bar"/>
<stackthumb name="stackthumb1" pano="rests1.xml" thumburl="restsdata/graphics/rests1_thumbstack.jpg" title="The Café"/>
<stackthumb name="stackthumb2" pano="rests2.xml" thumburl="restsdata/graphics/rests2_thumbstack.jpg" title="Cheers Pub"/>
<stackthumb name="stackthumb3" pano="rests3.xml" thumburl="restsdata/graphics/rests3_thumbstack.jpg" title="Chutneys"/>
<stackthumb name="stackthumb4" pano="rests4.xml" thumburl="restsdata/graphics/rests4_thumbstack.jpg" title="Coffee Stop"/>
<stackthumb name="stackthumb5" pano="rests5.xml" thumburl="restsdata/graphics/rests5_thumbstack.jpg" title="Courtyard Restaurant"/>
<stackthumb name="stackthumb6" pano="rests6.xml" thumburl="restsdata/graphics/rests6_thumbstack.jpg" title="Echo"/>
<stackthumb name="stackthumb7" pano="rests7.xml" thumburl="restsdata/graphics/rests7_thumbstack.jpg" title="The Lagoon"/>
<stackthumb name="stackthumb8" pano="rests8.xml" thumburl="restsdata/graphics/rests8_thumbstack.jpg" title="London Grill"/>
<stackthumb name="stackthumb9" pano="rests9.xml" thumburl="restsdata/graphics/rests9_thumbstack.jpg" title="Nuga Gama"/>
<stackthumb name="stackthumb10" pano="rests10.xml" thumburl="restsdata/graphics/rests10_thumbstack.jpg" title="Tao"/>
<stackthumb name="stackthumb11" pano="rests11.xml" thumburl="restsdata/graphics/rests11_thumbstack.jpg" title="Tao Margarita Bar"/>
<stackthumb name="stackthumb12" pano="rests12.xml" thumburl="restsdata/graphics/rests12_thumbstack.jpg" title="Taprobane"/>
<stackthumb name="stackthumb13" pano="rests13.xml" thumburl="restsdata/graphics/rests13_thumbstack.jpg" title="The Tea Lounge"/>
Online
Hi.. Its all working but it was not easy, however it will probably be a lot easier in ptp V2..
Post it up when you have it uploaded.. I have sent you a zip copy.. ![]()
Destiny..
Online
Powered by PunBB
© Copyright 2002–2005 Rickard Andersson
|
CHOOSING KOLOR Why choose Kolor? Which solution to choose? Download a trial Where can I buy? Education |
SOFTWARE Autopano Pro Autopano Giga Panotour Panotour Pro XnView |
ACCESSORIES Training DVD Panobook PROJECTS Paris 26 Gigapixels Yosemite 17 Gigapixels |
COMMUNITY Forums YouTube channel Google+ |
COMPANY Blog About Kolor Resellers Contact Visit us |
PRESS Press center Press review TOOLS My account |
