Give help. Get help.

  • # January 23, 2018 at 10:14 am

    Do you mean that they can slowdown the website if not limited?

    # January 23, 2018 at 10:26 am

    Potentially it could, even though it’s unlikely because of this script alone. But accumulative with other code it’s certainly possible. Optimisation’s always better.

    # January 23, 2018 at 12:46 pm

    Keep me guessing..)
    What kind of optimization?

    # January 23, 2018 at 12:55 pm

    Throttling, in this case. :-p

    # January 23, 2018 at 1:33 pm

    Actually i was thinkin about erasing opacity fading animation out of your script
    since we have some extra from our css animations to apply + throttling)

    But i still don’t understand what it does.
    those fuctions can’t be firing constantly, aren’t they?
    plus we can’t limit them because user going to scroll randomly so there should be no delay.

    # January 23, 2018 at 1:44 pm

    The scroll event itself can fire up to 60 times a second when normally scrolling and likely even more when dragging the scrollbar. There will be no noticeable delay when throttling, it only brings down events to about 20 times a second. Any more is usually unnecessary.

Viewing 6 posts - 46 through 51 (of 51 total)

You must be logged in to reply to this topic.