• So would this be right?:

    Code
    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?:

    Code
    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.

    "Warum sind denn da alle Linien so krumm?!"

    CHCH.cc/panoramic

  • Hi!
    No..
    This code just for one thumbnails

    Code
    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 *thumbup*

  • 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.

    "Warum sind denn da alle Linien so krumm?!"

    CHCH.cc/panoramic

    Edited once, last by CHCH.cc (March 29, 2012 at 11:08 AM).

  • 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:

    Code
    <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

    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
    onclick="loadpano(scene2.xml,80, MERGE, BLEND(2));drop_current(thumbsbar2);

    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.

    "Warum sind denn da alle Linien so krumm?!"

    CHCH.cc/panoramic

  • 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 *thumbup*

  • 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! 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

  • 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 *thumbup*

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!