Ph.Creative is a full service design and communications agency specialising in web design, SEO, internet marketing and branding.

Liverpool

London

Manchester

New York

Call us on +44(0)151 708 2280 or liverpool@ph-creative.com

Call us on +44(0)20 3301 4503 or london@ph-creative.com

Call us on +44(0)161 880 0122 or manchester@ph-creative.com

Call us on (001) 646 340 1025 or newyork@ph-creative.com

jQuery Plugin: Scroll to Top v2

by Craig Wilson 22 June 2009 at 17:25

Hi guys,

It's been a little overdue, but I've finally had some spare time to update our jQuery Scroll to Top plugin after some great feedback from our readers. Thanks. Smile

In the new version, I've included the options to choose your speed as well as support for the excellent jQuery Easing plugin (version 1.3 is included in the download pack, but please remember to check the jQuery Easing homepage for the latest version!)

If you're new to the plug-in, please look at the original post for set up instructions.

For those upgrading, grab the latest version at the end of this post, which contains an example set up.

You can extend the options by using the following:

$("#toTop").scrollToTop({
   speed: "fast",
   ease:  "easeOutBounce"
});

You can see the full list of easing options at the jQuery Easing homepage. For speed, you can use the usual "slow", "normal", "fast" or millisecond timing. Of course, you can use one or the other, or none at all.

Enjoy!

Version 2.0: scroll-to-top-v2.zip (25.67 kb)

Update: Version 3 now released!

Currently rated 5.0 by 6 people

  • Currently 5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: ,

jquery | web design | Web Technologies

Comments

Comments are closed
 

Search

Recent Comments

Comment RSS

© Copyright Ph.Creative 2009. All rights reserved. Terms & Conditions | Privacy Policy | Sitemap (XML) | Log in

Website design by Ph.Creative

^