better integration of home, about, preferences, login, etc, and support for /item/position urls

This commit is contained in:
rlx 2011-08-24 21:04:13 +00:00
commit c851db9d05
11 changed files with 402 additions and 322 deletions

View file

@ -14,9 +14,11 @@ pandora.ui.appPanel = function() {
});
that.display = function() {
// fixme: move animation into Ox.App
pandora.$ui.body.css({opacity: 0});
var animate = $('#home').length == 0;
Ox.print('ANIMATE?', animate)
animate && pandora.$ui.body.css({opacity: 0});
that.appendTo(pandora.$ui.body);
pandora.$ui.body.animate({opacity: 1}, 1000);
animate && pandora.$ui.body.animate({opacity: 1}, 1000);
return that;
}
that.reload = function() {