Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Fixing the sluggish performance of parallax and smoothscroll combined.

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #194485
    jimmy
    Participant

    Hi!

    I tried to combine the effects of parallax and smoothscroll on the agency website I’m making.

    Unfortunately, it gets unbelievably choppy when working together (only affects mousewheel, scrolling with scrollbar is fine) and the black background from underneath the parallax picture is showing (it works properly without smoothscroll).

    URL: http://2015.247.com.pl/o-nas/
    Smoothscroll script: https://gist.github.com/galambalazs/6477177
    Parallax script: http://pixelcog.com/parallax.js/

    What could be the problem? I tried to replicate the issue with just the barest HTML, but it works flawlessly then.

    I suspect some heavy JS performance mumbo-jumbo stuff and given that I can’t even write basic jQuery efficiently there is absolutely no way I could figure it out on my own.

    Thank you in advance!
    Jim

    #194904
    jimmy
    Participant

    Resolved, used different plugin instead (Stellar.js).

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.