On Sat, Oct 04, 2008 at 04:16:17PM +0200, Emanuel Carnevale wrote:
> 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..

Looks like you found a bug.  The tumblr page has a .gif file which
is really a PNG.  I've committed a change to detect the image format
if the extension is wrong.

Beyond that, you don't want to use open-uri with Shoes.  It'll block
your app.  You can use the `download` method to get the HTML.

Try this: http://gist.github.com/14786
(You'll need the latest Shoes to fix the problem with the misnamed
GIF.)

> and there is a way to choose the z-index of images?

Sure, you can use the `before` and `after` methods to add new
elements in between others.
<http://help.shoooes.net/Manipulation.html>

_why

Reply via email to