View Full Version : jQuery Scroll to Top Control for custom links

06-22-2011, 12:59 PM
1) Script Title:

jQuery Scroll to Top Control v1.1

2) Script URL (on DD):


3) Describe problem:

This is probably the best scroll to top script. Is is possible to use this script for custom links instead of scroll to top function?

Custom links like http://... or for jquery lightbox (photos, on-page divs, iframe etc). This means that this script will probably will have to use classes like class="lightbox" etc.

06-23-2011, 08:18 PM
Well, you can call the function:


to dynamically scroll the page up. The trick then for you is to attach this function to the desired control on your page, such as inside a lightbox, so clicking inside it executes the function.

06-24-2011, 06:34 AM
I don't want to call scroll to top but to use existing features like showing after page scrolling starts but with new click functions.

When user clicks on icon (or new image) he will go on 3rd link or open some lightbox, not scroll to top.

02-16-2012, 08:12 AM

Im trying to find a way to make this scroll to top jQuery plugin work on the X axis. Right now I can get him jump to the point, but not to slide.
Can you help me?