PDA

View Full Version : Is there a way to load a img just like a element.load(), with a loading mask


craneleeon
08-24-2007, 03:25 AM
Is there a way to load a <img> just like element.load() with a loading mask?

Animal
08-24-2007, 03:42 AM
Set its "src" attribute to a URL?

hendricd
08-24-2007, 08:15 AM
@craneleeon - See if this (http://extjs.com/forum/showthread.php?t=11304) get's you started in the right direction. You could use the img element itself as the mask host or even one of it's parents.