Questions tagged [scrollto]

jQuery.scrollTo is a plugin for scrolling elements and the window with jQuery animation, by Ariel Flesler.

  • Project on Github (includes documentation)
  • Plugin Releases
  • Gist on anchor navigation with jquery.scrollTo
  • Migration to jquery.scrollTo 2.0
751 questions
-1
votes
1 answer

scrollTo not working complicated view

I have a layout that is like this RelativeLayout ScrollView RelativeLayout TextView ListView ..... ExpandableTextView Button .... other Listviews .... Adview .... ListViews…
Simos
  • 1
  • 1
-1
votes
1 answer

ScrollTo post Offsettop

I have a position:fixed; menu on top of my page with a height of 175px. I used the code from scrollTo but the scroll effect puts the chosen container on the top of the page, behind my menu. How can I assign margin-top: 175px; to the scrollTo code,…
Mr.ZZ
  • 340
  • 3
  • 16
-1
votes
2 answers

jQuery ScrollTo mutliple div using next/previous buttons

HTML structure
Content here
Content here
Content here
Content here
Content here
silver
  • 4,433
  • 1
  • 18
  • 30
-1
votes
1 answer

Disable js on certain link tag

Hi there and happy new year, I have a menu which uses the scrollto plugin ( * http://flesler.blogspot.com/2007/10/jqueryscrollto.html). My Page is a onePager-Template and every menu item click, scrolls to a specific area. I wanna disable this…
Jan
  • 12,992
  • 9
  • 53
  • 89
-1
votes
1 answer

Center one the right div of a list

i want to make my scroll go to the right div in a container, but every answer i tried failed. Here is my list
CCCC
-1
votes
1 answer

JQuery scrollto blocks my input field

I have made a CMS page where I can add text to my site. On the page I have multiple submit forms. To avoid scrolling, I made a menu with jquery scrollto actions to jump to the right submit form. $(document).on('click', '#scrollto_blogpost',…
user1755868
  • 175
  • 2
  • 11
-1
votes
2 answers

Jquery Scroll when page loaded

What I'm trying to do is very simple, but i can't find any ways to do it (and i've searched!) I want that, when the page is loaded, the page scroll to an element with a class="" in the page. I've seen that there are a lot of plugins, and i've tried…
estellechvl
  • 335
  • 4
  • 14
-1
votes
2 answers

ScrollTo doesn't work

I re-open my previous question as it has been closed due to not beinig specific enough. I'm trying to make jQuery plugin "ScrollTo" work, but I'm definitively doing something wrong despite using the same method that the doc describes. Here is how I…
-1
votes
1 answer

How do I get a div to scroll to the next div with a specific class?

OK I have this code: $(document).ajaxComplete(function(){ var a = $('.pipeHolder').height(); var b = $('.container').first('#pip').height(); var c = 0; $("#scrollup").click(function() { …
DJERock
  • 119
  • 1
  • 13
-1
votes
2 answers

ScrollTo jQuery where to put?

I want to use the following jQuery script on my website: $('#page2').ScrollTo({ duration: 2000, easing: 'linear' });" The idea is to have button that redirects people to a div somewhere else on my page. I found the jQuery script above but…
Marcel
  • 35
  • 10
-1
votes
1 answer

jQuery scrollTo / localScroll works on all but one element

Have a look at this site that I developed for an agency. http://oakinteractive.co/ I have used the localScroll plugin to scroll between the sections. They asked me to add another section and for whatever reason the plugin seems to be ignored. Click…
Jay Blanchard
  • 34,243
  • 16
  • 77
  • 119
-2
votes
1 answer

add/remove class in jquery and scroll to element

How to do scroll page after click button in jquery. In menu (li) after scroll to div i want add class "active". How to do this and how scroll to element after click. All in jquery. This is what i try to do function scrollToPosition('#menu') { …
aliendev
  • 23
  • 8
-2
votes
1 answer

Scroll with 'magnetic' effect (jquery)

Is there a way to detect properly if an element is actually on the 'focus' of the scroll...I mean a kind of 'user is now at this element position'? It would be a kind of comparaison between element.offset().top and $(window).scrollTop(); ? I found…
-2
votes
3 answers

Long code into function?

This code has no errors in my page, so I'm not looking for any help there. I'm just curious if there is a shorter way to do this, there's a lot of code being repeated with just some class names being changed each time. Could I make this shorter in a…
-3
votes
1 answer

jquery scrollTo or animate to top?

I'm using this plugin: Open the plugin if u click an image it opens up a big one. when you closing it, the BODY should scroll up. I want to make scroll to the top on click close.! perhaps: adding a class self.$item.addClass( 'not-expanded' );…
DD77
  • 1,367
  • 2
  • 13
  • 25
1 2 3
50
51