Hi,
I wanted to do a desktop version of http://domikun.tumblr.com just
'cause it sounded cool, you know how these things go :)

Anyway, a first app using hpricot became an excuse to play with the
new download command (without it domikun.rb hanged while doing
image "path of a big image online")

Here there is the result
http://gist.github.com/14750

I've used download more extensively so I've been able to save all the
initial image files remotely and therefore giving you only the .rb
file to download.

Now the questions:
the app doesn't work as intended: the food.png image is saved
correctly every 20secs, but is not refreshed.. How do I force the
refresh? I tried the hide and show hack, but without luck..

and there is a way to choose the z-index of images?
It is implicitly set by the order in which images are loaded, but I
had to use the :finish block for the background download to set the
correct order (and z-index) for the "food".
Incidentally I like this solution better, 'cause the load of the app
is IMHO cleaner.


any ideas?
E

ps.
great threads lately on the list, but you guy write too much :) I have
an amount of backlog to read now. (whoops, I hope now you'll answer me
anyway though :) )

Reply via email to