From 576d3cc2915ede99644dfb088c23145dc094bee5 Mon Sep 17 00:00:00 2001 From: rolux Date: Mon, 18 Feb 2013 15:47:19 +0530 Subject: [PATCH] add embedPanel --- static/js/pandora/embedPanel.js | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 static/js/pandora/embedPanel.js diff --git a/static/js/pandora/embedPanel.js b/static/js/pandora/embedPanel.js new file mode 100644 index 000000000..60302c119 --- /dev/null +++ b/static/js/pandora/embedPanel.js @@ -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; +}; \ No newline at end of file