scrolling verticaly long elements
I would like to scroll large div which doesnt fit the whole window, so it would be great to have "relativeTo" set to top when scrolling document to the top, and have "relativeTo" set to bottom when scrolling to the bottom.
eg. http://www.mcs-informatika.hr/~mcs_ma...
(doesnt work as nice as scroll follow)
eg. http://www.mcs-informatika.hr/~mcs_ma...
(doesnt work as nice as scroll follow)
3
people have this question
I have this question, too!
Tell me when someone answers.
The more people who ask this question, the more it gets noticed.
The more people who ask this question, the more it gets noticed.
Create a customer community for your own organization
Plans starting at $19/month
-
Inappropriate?mpapec,
This is already the default behavior when "relativeTo" is set to "top." It stops the following object from breaking out of the bottom of its container. I will look into fixing the behavior for "bottom."
I’m confident.
-
Inappropriate?Please try the new version of Scroll Follow (0.3.1): http://kitchen.net-perspective.com/op...
The scroll following object should not break out of its container anymore when "relativeTo" is set to "bottom."
I’m glad you pointed out this bug.
-
Inappropriate?Seems like a cool feature, doesn't seem to be working yet in 0.3.1 though.
It would be very useful for those enormous link lists that are too long to fit on screen - when you scroll down bottom of the following object would stick to bottom of screen and when you scroll back up you catch top of the object and top of the screen drags it along.
This way you can see the whole contents of the object even though it's height is too big to fit it on screen and also scroll it along...
I’m excited
-
Inappropriate?Tnx, I've downloaded the latest version, but what I had in mind is this:
when scrolling downwards -> div is sticking to the bottom;
when scrolling upwards -> div is sticking to the top of the window
like in my example (which works only in FF btw :) ) -
Inappropriate?I see. I'll keep the idea in mind, but I wonder about its usefulness.
Frankly, setting an element that is longer than a reasonably sized viewport to follow a user as they scroll is a usability problem to begin with. Having this behavior with a much smaller object would also be very annoying.
However, I think it can be done and if more people are interested I'll consider it. -
Inappropriate?In the mean time I can patch the source if you don't mind. :)
I would only like to know how to calculate empty space above and below scrolling DIV.
Loading Profile...


