ok, interessting, it's a timing problem...

I have the following result:

if I call this on my (fast) system:

label.setOpacity(0);
box.add(label);
label.fadeIn(); // fadeIn directly after the add

it doesn't work, nothing happens.


if I call this:

box.add(label);
window.setTimeout(function() {
        label.fadeIn();         // fadeIn after some time
        }, 100);

it works and the label does fadeIn.

In the first version the label maybe just is not ready at the time the
fadeIn is started. The timeout helps...   ok, I think I don't understand
this :-)

On your online playgroud it allways works, seems slow enaugh :-)


cheers,
 Micha




------------------------------------------------------------------------------
Sponsored by Intel(R) XDK 
Develop, test and display web and hybrid apps with a single code base.
Download it for free now!
http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to