6 ms·
"(or use a css sprite)" You mean like this one... http://smyfaceimages.s3.amazonaws.com/moods_orange.png http://smyfaceimages.s3.amazonaws.com/moods_orange.png
by mattwestcott 16y ago
"(or use a css sprite)"
You mean like this one... http://smyfaceimages.s3.amazonaws.com/moods_orange.png http://smyfaceimages.s3.amazonaws.com/moods_orange.png ?
(yes, it's a bit of a mammoth image, but that's animation for you...)
- fookyong 16y agohm strange. for me, the first time I loaded the page and whizzed the slider back and forth, it felt like each face was loading separately (faces were half-loaded etc). or it could have been just the large sprite was still downloading as I was sliding the bar. in which case, probably best to preload it :)
- stevejalim 16y agoAre you on a slow connection? Has always seemed fine here. Or perhaps that s3 bucket is not near your part of the world, so a bit slower for you than me
- ars 16y agoWhy did you choose to divide the image into lines? Wouldn't one long line (or tall column) make the code a bit simpler?
- mattwestcott 16y agoI had it as one tall column originally, but it turns out that one particular browser (Firefox, I think it was) refuses to render 44200px-high images.
- ZoFreX 16y ago> refuses to render 44200px-high images COWARD!