PDA

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



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

Animal
24 Aug 2007, 12:42 AM
Set its "src" attribute to a URL?

hendricd
24 Aug 2007, 5: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.