srobbin / jquery-approach

A jQuery plugin that allows you to animate style properties based on the cursor’s proximity to an object.
http://srobbin.com/jquery-plugins/jquery-approach/
GNU General Public License v2.0
167 stars 20 forks source link

Performance maximum elements #5

Closed Sebastix closed 13 years ago

Sebastix commented 13 years ago

Hi,

What's the maximum of elements without losing performance?

Gr Sebastian

srobbin commented 13 years ago

Hi,

I'm not really sure. I imagine that's a moving target, since it's dependent on a bunch of different things: browser, computer speed, what other scripts are on the page, etc.

That said, I'd think you would want to keep the number relatively low. This isn't a very efficient plugin.

Cheers, Scott

Sebastix commented 13 years ago

Thanks for your quick answer!

Your demo with 40 images is performing good, I tried it with 150 smaller images but with my Macbook Pro in Chrome it wasn't a success. So keeping the number of element low is a must =)