From f8962750016e4d8d8512f4a50046da32936276ba Mon Sep 17 00:00:00 2001 From: franzz Date: Sat, 13 Sep 2014 20:35:09 +0200 Subject: [PATCH] update todo list on welcome page + new menu layout (first try) --- jquery/databap.js | 42 ++++++++------- masks/index.html | 28 +++++----- masks/welcome.html | 24 +++++++-- style/screen.css | 132 +++++++++++++++++++++++++-------------------- todo | 3 +- 5 files changed, 131 insertions(+), 98 deletions(-) diff --git a/jquery/databap.js b/jquery/databap.js index c4251c3..a8423c9 100644 --- a/jquery/databap.js +++ b/jquery/databap.js @@ -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; } diff --git a/masks/index.html b/masks/index.html index 40d0681..fc08e95 100755 --- a/masks/index.html +++ b/masks/index.html @@ -40,22 +40,22 @@