Shawn
(Shawn Si)
May 15, 2019, 3:54am
1
How can you vary the visible portion of an image when scrolled? For example, at
when you scroll to the woman with her hand up …
if you observe the top of the image and bottom of the image, as you scroll the white portion covers the top and bottom parts of the image. As if their is a white box with an opening that is moving on top of the image.
How can we achieve this in Saola?
Thank you!!!
ToanLS
(Toan Le)
May 15, 2019, 6:22am
2
Hi Shawn,
It’s the same as another topic you already asked.
Problem: Can we change the speed with which objects scroll? Making it scroll faster or slower than rest of objects on a page?
For eg using a script like below? Not sure this is exactly the right one, but perhaps helps move in the right direction.
Block
Scroll down speed
Scroll up speed
var thing = $(’#smallBox’);
var extra = 100;
var old = $(thing).scrollTop();
$(thing).scroll(function() {
if ($(thing).scrollTop() < old) {
$(thing).scrollTop($(thing).scrollTop()-extra);
} else if ($…
Regards