For one of my clients, I needed the opposite feature, ie give the possibility to scroll to the bottom of the page from the top of the page. I decided to implement it as a patch to this module, which I'm going to provide in this issue.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | scrollbottom.png | 17.25 KB | dddave |
| #2 | 1826056-scroll_to_bottom-2.patch | 7.22 KB | guillaumev |
| #1 | 1826056-scroll_to_bottom-1.patch | 6.91 KB | guillaumev |
| #1 | down-arrow.png | 355 bytes | guillaumev |
Comments
Comment #1
guillaumev commentedHere is the patch, along with the image.
Comment #2
guillaumev commentedNew version of the patch for latest 2.x version... Would love to see this committed :-)
Comment #3
dddave commentedBasically works fine but the arrow downwards isn't showing...

Comment #4
fadgadget commentedHello does this patch allow folks to move to bottom and the top if they wish? Thanks
Comment #5
tarekdj commentedIt would be better to check if the #scroll-bottom exists. This will avoid a bug with ajax requests.
Fix would be something like :
Comment #6
tarekdj commentedComment #7
baso commentedThanks tarekdj for the quick help. I tested your suggestion by changing contents of file 'scroll_to_top.js' as follows:
I then tested the changes on regular pages and views with exposed filters on the view itself and on blocks in different regions. And on my site it works. So in my opinion time has come for patch #3 :-).
Kind regards,
baso.
Comment #8
tarekdj commented