News for hackers. Stuff that matters.
Re:Smyface.com - the status emoticon is back, updated, and fun by fookyong on Tuesday January 18, 2011 @05:20AM (#2115320)
preloading those face images would greatly improve the experience.

(or use a css sprite)

Re:Smyface.com - the status emoticon is back, updated, and fun by mattwestcott on Tuesday January 18, 2011 @05:29AM (#2115329)
"(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...)

Re:Smyface.com - the status emoticon is back, updated, and fun by ars on Tuesday January 18, 2011 @07:17AM (#2115500)
Why did you choose to divide the image into lines? Wouldn't one long line (or tall column) make the code a bit simpler?
Re:Smyface.com - the status emoticon is back, updated, and fun by mattwestcott on Tuesday January 18, 2011 @07:37AM (#2115546)
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.
Re:Smyface.com - the status emoticon is back, updated, and fun by ZoFreX on Tuesday January 18, 2011 @09:32AM (#2115895)
> refuses to render 44200px-high images

COWARD!

Re:Smyface.com - the status emoticon is back, updated, and fun by fookyong on Tuesday January 18, 2011 @06:19AM (#2115407)
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 :)

Re:Smyface.com - the status emoticon is back, updated, and fun by stevejalim on Tuesday January 18, 2011 @06:49AM (#2115461)
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