Page 1 of 1

scroll bar tweak

Posted: Mon Nov 19, 2018 1:47 pm
by stalwart
hi all,

Is there a way to remove the scroll bar and use arrows instead to move the thumbnail bar - to gain a little more viewing window.... from this:

Image

to something like this?

Image

Stu

Re: scroll bar tweak

Posted: Mon Nov 19, 2018 2:55 pm
by Hopki
Hi Stu,
This is a V6 project using the action in. button:
Source: Mouse Click
Action: Position
Type: Scroll By
Offset: X:40px Y:0px
Target: thumbnail_menu
This scrolls it to the left,

Then:

Source: Mouse Click
Action: Position
Type: Scroll By
Offset: X:-40px Y:0px
Target: thumbnail_menu
To the right.
Regards,
Hopki

Re: scroll bar tweak

Posted: Mon Nov 19, 2018 4:05 pm
by stalwart
Hi Martin,

Thanks! This works a treat, and exactly what I was looking for - thanks so much....

Stu

Re: scroll bar tweak

Posted: Mon Dec 03, 2018 1:33 pm
by stalwart
the amount the thumbs scroll seems, to me and the client, a little erratic:

www.360imagery.co.uk/virtualtour/educat ... de/02.html

In mobile mode, the thumbs seem to move forward / back MUCH more than the "scroll by" +/-30px I've set.

It skips ahead, in the above example on my iPhone 8+, by 12 thumbnails.....

I'm using the default settings in the skin you provided Martin - although I've decreased the X offset to 30 pixels, not 40.

Stu

Re: scroll bar tweak

Posted: Mon Dec 03, 2018 3:27 pm
by Hopki
Hi Stu,
What you need to do is have the same action but use an action filter to limit how many to jump depending on screen width.
Example:
mouse click, scroll by, -40/0, thumbnail_menu => action filter: player width less than 2048, more than 1024.
mouse click, scroll by, -20/0, thumbnail_menu => action filter: player width less than 1024

Regards,
Hopki

Re: scroll bar tweak

Posted: Tue Dec 04, 2018 10:52 am
by stalwart
Hi Martin,

Seems to work a treat. Not sure I understand tho’ your logic behind:

“mouse click, scroll by, -40/0, thumbnail_menu => action filter: player width less than 2048, more than 1024”

...why the “less than 2048”? Surely anything over the minimum 1024 you want the menu to jump more?

So, this seems to be about right:
mouse click, scroll by, -80/0, thumbnail_menu => action filter: player width > 1024
mouse click, scroll by, -10/0, thumbnail_menu => action filter: player width < 1024

www.360imagery.co.uk/virtualtour/educat ... de/02.html

Stu