Fòrums de discussió Fòrums de discussió

Vés enrere

Scrolling Image

Commuta
Scrolling Image
Resposta
09/03/22 14:48
Hello SB Team!  
I'm creating a software simulation that has a very large section that needs to be displayed (screenshot with some hotspots over it).  It's so large that it will be hard to read If I shrink it down, screenshot it, and add it to my stage.  I know there is no option to scroll an image, but was wondering if there was any way to use the slider to move objects?  Maybe along a motion path?  
Thanks! 
Scott

PS - I was able to get an object to move along a path with a slider 'on change' but wasn't able to figure out how to stop it once it starts moving.  
0 (0 Vots)

RE: Scrolling Image
Resposta
09/03/22 18:33 com a resposta a Scott Sheridan.
Hi Scott,
Does it make more sense to make your page taller? SmartBuilder can allow pages to be different heights. You can also force the page to scroll to different sections (such as return to top) by using the focus block.

Here's a video - https://share.smartbuilder.com/public/support/different-page-heights.mp4

If this method doesn't work for your use case, let us know. You can do some math and use a slider, but that seems like a pain to manage.

- Nav
0 (0 Vots)

RE: Scrolling Image
Resposta
09/03/22 18:47 com a resposta a Navdeep Dhillon.
Hi Nav, 
Not in this case.  I have a data table that has many columns.  It scrolls left/right on our platform and I'd love to figure out how to handle that. 
Scott
PS: I've tried to use a table that does have the ability to scroll, unfortunately, the table holds images within its cells that would need to move with the table.  
0 (0 Vots)

RE: Scrolling Image
Resposta
09/03/22 19:00 com a resposta a Scott Sheridan.
Update: 
I have been able to achieve what I needed to do using a couple of buttons that will move the screenshot to a set of coordinates and then back with another button.  
This should work for us! 
Scott
0 (0 Vots)

RE: Scrolling Image
Resposta
09/03/22 19:50 com a resposta a Scott Sheridan.
Hi Scott,
That's probably smarter in the long run (moving between two positions using a button). But if you want to see how to use the slider here's a video and a sample lesson (attached).

https://share.smartbuilder.com/public/support/scrolling-image-with-slider.mp4

- Nav
0 (0 Vots)

RE: Scrolling Image
Resposta
10/03/22 14:06 com a resposta a Navdeep Dhillon.
Thanks very much, Nav.  I ended up going with the button option.  The scroll wasn't as smooth as I would like it to be.  
Appreciate your help with this one! 
Scott
0 (0 Vots)