Coder Social home page Coder Social logo

Comments (4)

tkahn avatar tkahn commented on September 6, 2024

Hi!

It's by design. When I created the plugin I was thinking that if you set autoscrolling to 'always' you would really mean always - no manual scrolling at all. It would only autoscroll. It should even hide the hotspots so I'm curious to see the code where you could initialize the plugin with autoscrolling set to always and have visible hot spots. :-)

/Thomas

from smooth-div-scroll.

arataon avatar arataon commented on September 6, 2024

Hi Thomas,

Sorry, I forgot to close this but I got it working as I wanted it the other day. I added in self.startAutoScrolling(); (got that from your site) after the mouseout on the left and right hotspots so now it restarts the scroll. Its all working as I want it now, probably should have looked into it more before posting here, but thanks for your reply and a fantastic little plugin! :-) It works really well.

Thanks again,

Cobain :-)

from smooth-div-scroll.

tkahn avatar tkahn commented on September 6, 2024

Hi Cobain!

Thanks for replying and I'm glad you got this working like you wanted it!

/Thomas

from smooth-div-scroll.

wpexplorer avatar wpexplorer commented on September 6, 2024

Adding self.startAutoScrolling(); is cool - thanks Arataon. The only thing is when the user hovers to scroll left, from a UI perspective the scrolling should then continue now going to the left, rather then the default to the right. So adding in another little function might be ideal.

from smooth-div-scroll.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.