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.

A nice Javascript Overflow/Scroll solution

Featured Replies

Hi Guys,

 

Does anyone know of a nice Javascript/Jquery Overflow Scrollbar solution.

 

I currently have a div with a set height (due to the restraints of my client's design whims!) and he now wants to add too much copy in, so I need it to scroll, but nicely, not with default scroll-bars ideally.

 

If anyone has come across a nice, easy to implement scrollbar solution, please post it up :)

 

Thanks

Tel

I prefer to keep the scrollbar near the screen edge. Then it complies with Fitt's law - making it infinity large to grab hold of.

  • Author

lol - yeah I know all about overflow:scroll;

 

Thanks for that - but what I mean is, does anyone know of a nice Jquery Styling method so it doesn't look like the default scroll bar. It needs to fit in with the aesthetics of the site :)

 

Ta

  • Author

Thanks guys - anyone actually used it before? I am just really looking for some forum feedback on people's experience using something like this.

 

Ta chaps :)

Not for any live sites. Just quick play-arounds long time ago.

 

I avoid changing UI elements that belong to the browser - it complicates things, increased chance of doing something the user doesn't expect and usually isn't worth the effort. IMO.

  • Author

9 times out of 10 I would completely agree with you Tom; but the design wasn't built for a scroll bar and the default one in any browser at all looks AWFUL!! lol

 

It needs a nice graphical one in place - I will take a look at the one recommended. Thanks guys :)

I use the jquery ui slider loads, it's really really useful.

 

Although i have never used it for a scrollbar, but you can see it in use on my contact page in a different way :)

  • Author

lovely use of it on your contact page mate - great stuff :)

 

Cheers

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.