jQuery.scrollTo is a plugin for scrolling elements and the window with jQuery animation, by Ariel Flesler.
Questions tagged [scrollto]
751 questions
4
votes
2 answers
scrollTo next/prev anchor using arrow keys or button?
I've been googling for a week now and I just don't understand how to combine it all :(
I'm making a horizontal website similar to this, except I want to be able to navigate using arrow keys to move back and forth between sections of the horizontal…

Jenny Westburg
- 51
- 1
- 4
4
votes
2 answers
window.location.hash - stop reload in chrome
I have the following problem:
$('.gotoservices').click(function(){
$('html,body').scrollTo($("#services"),1000);
window.location.hash = "services";
return false;
});
This code works but for some reason the page flashes before the…

user1076082
- 261
- 2
- 4
- 6
4
votes
4 answers
scrollTo div on hover
I asked this question and the answer works really well.
The only thing though is that now I need a version that scrolls directly to the respective div instead of scrolling through all of them (i.e. if you hover over the last link, it won't scroll…

scferg5
- 2,003
- 5
- 22
- 28
4
votes
2 answers
Stop Firefox resetting horizontal scroll position when overflow is "hidden"?
I have a horizontally scrolling div with sections inside. I'm using Ariel Flesler's scrollTo plugin to scroll from one section to another.
Please see: http://jsfiddle.net/carienf/qZeEe/
The fiddle works perfectly in IE 9, Safari 5.1, Opera 11.5 and…
user255594
4
votes
1 answer
problem with scrollto and scrolltop in chrome using jquery
I've tried using both scrollTo(y,x) and scrollTop(x-pos), values in the parenthesis being the offset.top values of individual DOM elements. These seem to work in all browsers initially, however when refreshing Chrome to resend the form submission,…

Lazer
- 51
- 1
- 2
4
votes
4 answers
How to ScrollTo next & next & next....... element

l2aelba
- 21,591
- 22
- 102
- 138
4
votes
1 answer
Jquery SlideToggle AND scroll
I'm having a problem with a slidetoggle link which appears at the bottom of my page.
Effectively I want the user to click to show/hide the hidden div (which works fine)
The problem is the page doesn't scroll down to show the now, not hidden div
As a…

Andre
- 41
- 1
- 2
4
votes
5 answers
jQuery - scrolling inside a div? scrollTo?
I have a div container with list in it, only one item of this list is visible at once and the rest is being hidden (the container has overflow: hidden).
I want jQuery to show the requested items after clicking exact…

anonymous
- 1,511
- 7
- 26
- 37
4
votes
0 answers
Scroll to top of modal Angular 2
I've got a form modal that pops up and has 4 sections to complete. Each section has a next button. I would like the next button to trigger a scrollTo(0) function, but I cannot seem to get a working solution. The last thing I have tried is a…

Rich Hanna
- 51
- 2
4
votes
2 answers
how to control the scroll speed in window.scrollTo(x-coord, y-coord);
I am new to js.
I need a scrolling a page based on the tag href attribute in my college project.
The ScrollTop functionality is not working as my project was a single page application. I can achive that using the functionality by…

Parthasarathy
- 308
- 2
- 10
4
votes
2 answers
4
votes
1 answer
Bootstrap validator scroll to the first error if empty field
I'm creating a form using bootstrap with validator.js. The form is working fine but I'd like to scroll to the first error if there is some. I'm a newbie with jquery/js and I don't really now how to do for reaching this goal.
I've tried something…

middlelady
- 573
- 2
- 13
- 36
4
votes
2 answers
Making Jquery.ScrollTo work based on speed instead of duration
I'm creating a horizontal site (it could also be any other auto-scrolling site, like diagonal) which uses the $.Localscroll child from the Jquery.ScrollTo plugin.
There's one big problem with this plugin; it calculates movement based on a duration.…

xaddict
- 1,302
- 3
- 19
- 38
4
votes
2 answers
jQuery scrollTo not working Chrome/Firefox
Forgive me if this has been asked, but I've been searching all day on here and have not seen any question relating to my specific problem.
I'm building a one page parallax-style website with a navigation bar utilizing a fixed position to allow users…

mmnewcomb
- 53
- 7
4
votes
2 answers
scrollTo scrolls to the top of the page
I have the following Javascript code.
When the page is loaded it is scrolled to the right position. When I click on the link to run the function the page scrolls to the top of the page.
How do I fix this?