add embedPanel

This commit is contained in:
rolux 2013-02-18 15:47:19 +05:30
parent da2c47bb58
commit 576d3cc291

View file

@ -0,0 +1,13 @@
pandora.ui.embedPanel = function() {
var that = Ox.Element().html('Not implemented.');
that.display = function() {
// fixme: move animation into Ox.App
var animate = $('.OxScreen').length == 0;
Ox.Log('', 'ANIMATE?', animate)
animate && pandora.$ui.body.css({opacity: 0});
that.appendTo(pandora.$ui.body);
animate && pandora.$ui.body.animate({opacity: 1}, 1000);
return that;
};
return that;
};