jQuery.scrollTo is a plugin for scrolling elements and the window with jQuery animation, by Ariel Flesler.
Questions tagged [scrollto]
751 questions
7
votes
2 answers
Stop current scrollTo event when user scrolls
I am using an amended version of http://nick-jonas.github.io/windows/ that allows a user to scroll inside a DIV different sections that will then snap back into place.
Because I am scrolling a DIV I have replaced:
$('.windows').animate({scrollTop:…

Cameron
- 27,963
- 100
- 281
- 483
7
votes
2 answers
jQuery accordion, scroll beginning of clicked tab to the top, doesn't work if expanded tab is above the one being clicked?
Got a little bit of a problem with getting my jquery accordion to do what I want.
I always want the tab that is being clicked to be scrolled to a fixed amount of pixels from the top of the page, and I kinda got it working. But whenever the active…

Andre
- 106
- 1
- 1
- 5
7
votes
2 answers
scrollTo is not a function
Ok, I can't see it anymore. I'm using the scrollTo plugin and have a scrollTo function in my website. It worked and now suddenly it doesn't...
This is my code:
$(document).ready(function() {
$('header').delay(300).fadeIn(750);
…

Luc
- 1,765
- 5
- 24
- 44
6
votes
3 answers
Using jQuery to find current visible element and update navigation
First time user here. I am usually capable of finding answers for questions but I am having a difficult time figuring this one out.
The Goal:
I have a single page layout with a sidebar navigation that when clicked will scroll down to an element on…

rebz
- 2,053
- 3
- 16
- 16
6
votes
1 answer
jQuery ScrollTO with data attributes
I really need help with this issue, my knowledge with JS is not that good. So, basically I want to scroll to the section when the link is clicked, but not through (href="#target"), I want to do it with attributes. Also, I want to add attribute…

Danny
- 63
- 1
- 1
- 4
6
votes
2 answers
jQuery scrollTo but slow down inbetween
I'm using a simple chunk of code (based of 'ScrollTo Posts with jQuery' which allows you to click a next/previous link and it'll jump through to the top of each post.
I have my HTML structure so it goes post > image > post > image etc.
I'm wondering…

John the Painter
- 2,495
- 8
- 59
- 101
6
votes
4 answers
Simple "scroll to/down" effect using minimal markup and hash tags
I am making a one page site that has a classic navigation at the top. Right now I have links set up as hash tags in order to navigate within the page:
...
...
Obviously, this…

davecave
- 4,698
- 6
- 26
- 32
5
votes
4 answers
jQuery scroll to div on hover and return to first element
I basically have a div with set dimensions and overflow: hidden. That div contains 7 child divs (but only shows one at a time) that I would like to be smoothly scrolled through vertically when their respective links are hovered.
However, the first…

scferg5
- 2,003
- 5
- 22
- 28
5
votes
4 answers
How to use jQuery jScrollPane and scrollTo plugins in the same script
I'm building my first js/jQuery site and I've run into a hiccup. I'm trying to use both jScrollpane (Kelvin Luck) and scrollTo (Ariel Flesler) plugins in one script. If I comment one out, the other works. Are they mutually exclusive? Do I need…

Patrick Armitage
- 51
- 1
- 2
5
votes
2 answers
Javascript scroll to specific element by ID
I have a menu bar with 4 tabs and when I press on every tab it should scroll down to the corresponding category (a specific id), on the same page.
This is the code for the menu:
template: `

ElenaE
- 53
- 1
- 1
- 4
5
votes
2 answers
Scrolling with animation
I need to execute the javascript method scrollTo(x, y) with animation. I cant' use jQuery to do it.

Alex
- 6,957
- 12
- 42
- 48
5
votes
1 answer
mCustomScrollBar "scrollTo, divID" not working
I seem to be having a problem scrolling to an element using the ".mCustomScrollbar("scrollTo",divID)" function.
I have a div (id="#wrapper") containing a lot of divs (anything up to 800 divs of height each 20px).
I then add the mCustomScrollbar to…

user1005240
- 285
- 4
- 15
5
votes
2 answers
Firefox jquery scrollTo flicker bug
I've seen quite a few threads here talking about flickering in Firefox, but none that quite describe the problem I'm having.
I've got a horizontal scrolling website, fixed position menus, and the jquery plugin .scrollTo handling next and previous…
user231698
5
votes
2 answers
Simple jQuery (scrollTo and animate) not working in IE
I just now noticed that some simple jQuery is not working on IE9 and IE10 for mobile.
I have some copyright links and simple sliding contact form which uses animate().
Also I use scrollTo plugin in combination with jQuery. I tried different…

fluxus
- 559
- 5
- 15
- 29
5
votes
1 answer
jquery scrollTo not working
I'm just trying to scroll to a specific DOM element or absolute position in my browser window, and it's not working. Here's my code:
$(window)._scrollable();
$('#scene_01_down').click(function(){
$(window).scrollTo(2000,1000);
});
and here's…

mheavers
- 29,530
- 58
- 194
- 315