开发者

Opera: avoid wait cursor during img-src-refresh?

On a web page, I have an image cont开发者_运维技巧inuously be refreshed by updating the src-attribute of the corresponding img-tag. This seems to work very well with a broad range of browsers. However, in Opera 10.51/WinXP/32, every time the image is updated, for a fraction of a second, the wait cursor is shown. It may confuse users.

So, how do I get rid of the wait/hour-glass cursor?

What I briefly tried, hoping to find a work around: I created a new img-node, not yet in the DOM, and set the src-attribute of that node. However, even in that case, Opera shows the wait cursor.


I don't think this is possible in a nice way, sorry. An ugly way might be to pre-fetch the image with XMLHttpRequest but I think it's too ugly to consider :-p

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜