top | item 2115329

(no title)

mattwestcott | 15 years ago

"(or use a css sprite)"

You mean like this one... http://smyfaceimages.s3.amazonaws.com/moods_orange.png ?

(yes, it's a bit of a mammoth image, but that's animation for you...)

discuss

order

ars|15 years ago

Why did you choose to divide the image into lines? Wouldn't one long line (or tall column) make the code a bit simpler?

mattwestcott|15 years ago

I 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.

fookyong|15 years ago

hm 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|15 years ago

Are 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