Hi!
put this code to action you using for set current thumb.
Unforunately I dont know how you released your set current action
Send me code I will take a look
mail @ atlas-is . ru
Regards
Andrey
Hi!
put this code to action you using for set current thumb.
Unforunately I dont know how you released your set current action
Send me code I will take a look
mail @ atlas-is . ru
Regards
Andrey
So would this be right?:
ifnot(plugin[get(thumbnails[1thumbs].thumb_current)].current === null,
set(plugin[get(thumbnails[2thumbs].thumb_current)].current,false);
plugin[get(thumbnails[1thumbs].thumb_current)].onout();
);
1thumbs stands for the first thumbnail set and 2thumbs for the second one. Could I also add more thumb bars by modifying the code like this?:
ifnot(plugin[get(thumbnails[1thumbs].thumb_current)].current === null,
set(plugin[get(thumbnails[2thumbs].thumb_current)].current,false);
set(plugin[get(thumbnails[3thumbs].thumb_current)].current,false);
set(plugin[get(thumbnails[4thumbs].thumb_current)].current,false);
plugin[get(thumbnails[1thumbs].thumb_current)].onout();
);
I'm going to try this on a moment.
Hi!
No..
This code just for one thumbnails
ifnot(plugin[get(thumbnails[thumb1].thumb_current)].current === null,
set(plugin[get(thumbnails[thumb1].thumb_current)].current,false);
plugin[get(thumbnails[thumb1].thumb_current)].onout();
);
Here
thumb1 is the name of thumbnails where current thumb must be set to normal state.
for example:
you have 2 thumbnails (thumbs1 and thumbs2)
if you set thumb state to current in thumbs2 then you need to call action above for thumbs1
other words - call this code for previous current thumbnails.
Regards
Andrey
Is there anything I should modify to make it work with my thumbs or can i paste this as is?
As is...
And you can send me part of code, I will try to help you.
Andrey
I just sent you an email with my codes. Perhaps you could have a look at it. Thanks a lot!
Christian
Edit: Sending the email didn't work, so I Sent it again through the forum's email function.
Hi,
I just wanted to post Andrey's answer to my problem "how to disable the current state of multiple ScrollThumbs bars in one project. This is what he wrote me and it worked without any problems:
<action name="drop_current">
ifnot(current_thumbs === null,
set(plugin[get(thumbnails[get(current_thumbs)].thumb_current)].current,false);
plugin[get(thumbnails[get(current_thumbs)].thumb_current)].onout();
);
set(current_thumbs,%1);
</action>
The action code to remove the current thumb of the scene
<thumbnails name="thumbsbar1"
…
<thumb name="tn2"
…
onclick="gotoscene(scene2,0,0,80); drop_current(thumbsbar1);"
…
<thumbnails name="thumbsbar2"
…
<thumb name="tn1"
…
onclick="gotoscene(scene1,0,0,80);drop_current(thumbsbar2);"
Display More
The code to call the action in the ScrollThumbs thumbnail plugin
I also found out, that you can call the action on your hotspots as well:
Code to call the action with a hotspot
I hope this helps you as well, if you need to do a tour with scenes divided into different ScrollThumbs bars but want to show just the current scene in all your thumbnail bars.
Hello,
I want to buy this plugin but I have a question:
does this scrolling thumbnail will always be visible in the pano OR it can be hidden (manually by clicking a button or automatically when selecting 1 pano)?
Thank you :)
Hi!
Yes you can manipulate by a plugin
use plugin with same name as thumbnails.
for example
thumbnails name="thumbs"
then use plugin[thumbs]
you can set x,y, parent, alpha, visible as usualy.
but, if you wnat to change width and height then use thumbnails attributes and rebuild thumbs for apply changes.
Andrey
I just buy the plugins.
Why I am not receiving any email containing the download link? :)
Thank you
Hi!
Don't worry, you will get it soon.
Andrey
Hi there,
i just bought your plugin and just can´t get it done. First i must say, I´m a complete newbie by editing xml.
Just for the dummies - where do i put the xml code? in my tour.xml file?
Hello,
i have a problem with the thumbs scroll. If I use more then 10 thumbs, I can just see 10 thumbs and then is an empty space. I think the problem is with the header, because if I change it, everything works. Can it be that it does not work with actions?
<krpano version="1.0.8.14" showerrors="false" onstart="buildthumbs(); addbuttons(); action(aussicht); ">
It's funny, because it works perfect with ten thumbs but not with eleven?
Maybe somebody has a solution?
Thank's Barbara
Hi!
Can you show me your tour with this problem?
I will try to findout the reason.
Andrey
Hi,
thank you for answering!
Here is the link http://www.panoramen.weblinedesign.at/salzburg_highl…highlights.html
As you can see, after the 10 thumb, there is empty space but no thumbs.
If I try it with your example (without actions) it works.
The 4 thumb is just missing because we don't have a picture yet.
I hope you can find the mistake I did.
Thank you and best regards
Barbara
Hi! hm... interesting...
debug window is disable.
Can you send it me? I will take a look.
Without panoramas (only preview)
BTW - action(action_name) - is old style
better use action name directly for call action
for example
action name="blabla:
/action
use blabla();
Regards
Andrey
var krpano = document.getElementById("krpanoSWFObject");
krpano.call("showlog(true)");
I believe you have to use the actual size of the thumbsnails and use the masking of the parent to handle it being in a box.
I just found the solution (I am not sure if it is correct, but it works).
In thumbsbase.xml on row 226 change "if(thumbnails[%1].fixoverflow LT 10," the 10 to ex. 13 and 13 thumbs are shown!
Thank's to everybody for helping!
Barbara
Hi!
Yes you are right, this is the solution, but this problem is unusual. (it's works in your tour, I receive your mail)
It's was fix of actions overflow.
I tested it many times in other examples and tours and it's works perfect.
So, currently I wouldn't rewirte main code.
Regards
Andrey
Don’t have an account yet? Register yourself now and be a part of our community!