Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Chrome lags with big PNG #61

Open
leemlller opened this Issue · 1 comment

2 participants

@leemlller

i have only 4 PNG images (2000px 1250px) each of them 300-600Kb with transparency in jParallax Firefox deal animations smoothly but in last Chrome things look laggy.
no more than 1fps
Where may be problem? image size? res? or transparency?

example image: https://dl.dropbox.com/u/2457864/04.png

@josh3ennett

I"m seeing a similar problem. My images are half the size, however they scale up so the background is always 100% of the screen, chrome seems to slow way down with that as well. Seems to be related to requestAnimationFrame, I stuck a quick fix here https://github.com/joshatjben/jparallax/blob/quickDirtyChromeLagFix/js/jquery.parallax.js . Just commented out everything but the setTimeout fallback in the requestFrame function... it's not pretty but it did what i needed it to do.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.