Jason J. Kahler <jason.kahler <at> baesystems.com> writes:
I want to show a waiting/loading image while my image(map) is being loaded.
What would be the best way to acheive this?
Hi Jason,
Have you tried simply resetting the image source like this:
// Create an image
var img = new QxIMage("path/to/my/image.png");
// Swap image
img.setSource("path/to/my/otherImage.png");
You can also check if the image has loaded with img.getLoaded(), so you might
want to swap images if/when images do/don't load.
Simon
Yes I am resetting the source however when source B is loading I want to show
source A then swap to source B once B is loaded.
--
Jason J. Kahler
Software Engineer
BAE Systems
428 Phoenix Drive
Griffiss Business and Technology Park
Rome, NY 13441
Phone: (315) 838-2177
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel