Smooth out this jQuery toggle animation?

后端 未结 5 1515
甜味超标
甜味超标 2020-12-31 19:38

The animation produced by my jQuery function is shaky, and I\'ve been looking through different SO solutions, such as adding jquery.easing, but no luck. Is

5条回答
  •  悲哀的现实
    2020-12-31 20:00

    Let's look at it this way!

    I am not sure how many of these iframes you're going to load up on one page here, but one thing seems to be very certain; if you have one too many, you'll have enough of iframes with enough of youtube videos loading up.

    Which means, unnecessary loads. The user may not click all of those links. The user may not watch all of those videos.

    So:

    1. There's an unnecessary bloat up of the resources, and an unnecessary consumption of the user's bandwidth.

    2. And, moreover this is not scalable. Consider, you need 50 of those links on a page. OK. Take just 10. Even that is quite a lot!

    I'm working up a jsfiddle for this one. Will post it here, when done!

提交回复
热议问题