Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Smooth scrolling JS/jQuery

Featured Replies

Have been searching high and low for a solution that works, have tried every plugin I can find on the front page of Google and none seem to work. I want to scroll smoothly between my links/anchors rather than a harsh jump.

 

I've tried to implement this but it simply does not work. Anyone know where I'm going wrong?

 

Site with jQuery code included but nothing happening

Seems to scroll pretty smoothly to me (Firefox). One thing I notice is an old version of jQuery being used 1.4.3, its at 1.7.2 now with a lot of tweaks and performance gains.

 

The only other thing you could add an 'easing' effect, either from a standalone plugin or the jQuery UI library itself.

 

PS like the design in progress :)

Edited by Synjyn

  • Author

Seems to scroll pretty smoothly to me (Firefox). One thing I notice is an old version of jQuery being used 1.4.3, its at 1.7.2 now with a lot of tweaks and performance gains.

 

The only other thing you could add an 'easing' effect, either from a standalone plugin or the jQuery UI library itself.

 

PS like the design in progress :)

 

Oh really? How strange! I tested it on two different browsers and systems! Mac and PC. Could you tell me what you're running so I can try and work out why I'm not seeing it as my end?

Oh really? How strange! I tested it on two different browsers and systems! Mac and PC. Could you tell me what you're running so I can try and work out why I'm not seeing it as my end?

 

PC - Firefox, Chrome, IE all fine.

 

You don't have a plugin (such as firebug) or something running on your browser which maybe causing a lag or something?

 

Your code looks fine, it is just core jQuery stuff so shouldn't be a problem. Definitely update your jQuery version anyway (I always use a CDN with a fallback for it) so that it gets re-used if already in the users cache.

  • 2 weeks later...

Thanks Fran, I've just used this scroller as I was having trouble finding one that works.

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.