update todo list on welcome page + new menu layout (first try)

This commit is contained in:
2014-09-13 20:35:09 +02:00
parent dd9547a54f
commit f896275001
5 changed files with 131 additions and 98 deletions

42
jquery/databap.js vendored
View File

@@ -205,16 +205,17 @@ function Databap()
//Expand menu
self.$menu
.stop()
.animate
(
{width:'300px'/*, borderWidth:'10px'*/},
'fast',
function()
{
self.$menu.find('#menu_box').show('fast');
}
);
.stop()
.animate
(
{width:'300px'/*, borderWidth:'10px'*/},
'fast',
function()
{
self.$menu.find('#menu_box').show();
$(this).addClass('opened');
}
);
}
};
@@ -242,16 +243,17 @@ function Databap()
//Reduce menu
self.$menu.find('#menu_box').hide();
self.$menu
.stop()
.animate
(
{width:'20px'/*, borderWidth:'0'*/},
'fast',
function()
{
self.$menu.find('#menu_title').show('fast');
}
);
.stop()
.animate
(
{width:'20px'/*, borderWidth:'0'*/},
'fast',
function()
{
self.$menu.find('#menu_title').show();
$(this).removeClass('opened');
}
);
openedMenu = false;
closeMenu = false;
}