Welcome to TalkGraphics.com
Results 1 to 9 of 9
  1. #1
    Join Date
    Nov 2014
    Location
    Hungary
    Posts
    17

    Lightbulb Smooth Mouse Wheel Scroll?

    Hi Everyone!

    I've been trying to do research on how to accomplish this and have not been able to figure it out. Nowadays a lot of websites have a smooth scroll script for mouse wheels, buts its undepend from any "WIN/MAC mouse wheel settings".

    example: http://pharmedio.com/

    So when you're scrolling down with the mouse wheel, it smoothly glides a few pixels down instead of jumping. I'm not referring to the parallax effects, just the mouse wheel functionality.


    Do you have idea how can realize it? (I mean jquery, or anything js code...).


    thanks a lot.

  2. #2

    Default Re: Smooth Mouse Wheel Scroll?

    It is also a function in most current browsers. Check for a smooth scrolling setting in your browser.

  3. #3
    Join Date
    Sep 2000
    Location
    Bracknell, UK
    Posts
    8,659

    Default Re: Smooth Mouse Wheel Scroll?

    Nowadays a lot of websites have a smooth scroll script for mouse wheels

    Do they?

    I thought it was a browser/OS thing.

  4. #4
    Join Date
    Apr 2012
    Location
    SW England
    Posts
    17,834

    Default Re: Smooth Mouse Wheel Scroll?

    Quote Originally Posted by pauland View Post
    Nowadays a lot of websites have a smooth scroll script for mouse wheels
    Do they?
    I thought it was a browser/OS thing.
    It is an OS thing but the code bit is around the easing; an example: http://codepen.io/bassta/pen/LovFG.

    Acorn
    Acorn - installed Xara software: Cloud+/Pro+ and most others back through time (to CC's Artworks). Contact for technical remediation/consultancy for your web designs.
    When we provide assistance, your responses are valuable as they benefit the community. TG Nuggets you might like. Report faults: Xara Cloud+/Pro+/Magix Legacy; Xara KB & Chat

  5. #5
    Join Date
    Sep 2000
    Location
    Bracknell, UK
    Posts
    8,659

    Default Re: Smooth Mouse Wheel Scroll?

    Thanks Acorn. I have never come across this before.

    My trackpad scrolling is always smooth!

  6. #6
    Join Date
    Apr 2012
    Location
    SW England
    Posts
    17,834

    Default Re: Smooth Mouse Wheel Scroll?

    Quote Originally Posted by pauland View Post
    Thanks Acorn. I have never come across this before.
    My trackpad scrolling is always smooth!
    Ias well as my wheelie I have a Logitech Touchpad T650, which is also touch smooth scrolling.

    Thinking about it, the smoothest scroll is middle button click and then the page scrolls to the relative position of the pointer to the clicked datum.

    Acorn
    Acorn - installed Xara software: Cloud+/Pro+ and most others back through time (to CC's Artworks). Contact for technical remediation/consultancy for your web designs.
    When we provide assistance, your responses are valuable as they benefit the community. TG Nuggets you might like. Report faults: Xara Cloud+/Pro+/Magix Legacy; Xara KB & Chat

  7. #7
    Join Date
    Nov 2014
    Location
    Hungary
    Posts
    17

    Default Re: Smooth Mouse Wheel Scroll?

    Quote Originally Posted by Acorn View Post
    It is an OS thing but the code bit is around the easing; an example: http://codepen.io/bassta/pen/LovFG.

    Acorn
    I already checked it, but on ie, ff, cr not found this function.

  8. #8
    Join Date
    Nov 2014
    Location
    Hungary
    Posts
    17

    Default Re: Smooth Mouse Wheel Scroll?

    Quote Originally Posted by Acorn View Post
    It is an OS thing but the code bit is around the easing; an example: http://codepen.io/bassta/pen/LovFG.

    Acorn
    I tried to paste "smoothscroll" to body, but nothing changed.

    but thanks for your pains Acorn!

  9. #9
    Join Date
    Nov 2014
    Location
    Hungary
    Posts
    17

    Default Re: Smooth Mouse Wheel Scroll?

    I found the solution: http://www.jqueryscript.net/animatio...rollSpeed.html
    I tested and its working!

 

 

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •