Top position control for sections left bar when is fixed - #3788

This commit is contained in:
enriquecd 2016-11-21 16:25:11 +01:00
parent f3bf5aae86
commit d768da3964
2 changed files with 38 additions and 3 deletions

View File

@ -203,6 +203,17 @@ $(document).ready (function () {
}
forced_title_callback();
$(document).on("scroll", function(){
if((document.documentElement.scrollTop != 0 || document.body.scrollTop != 0) && $('#menu').css('position') =='fixed'){
$('#menu').css('top','20px');
}
else{
$('#menu').css('top','80px');
}
});
});
function forced_title_callback() {

View File

@ -209,15 +209,39 @@ li:hover ul { display: block; }
}
#subicon_god-servers {
top: -72px;
top: -120px;
}
#subicon_god-alerts {
top: -70px;
}
#subicon_god-links {
top: -130px;
top: -140px;
}
#subicon_god-extensions {
top: -180px;
}
#subicon_god-um_messages {
top: -20px;
top: -90px;
}
#subicon_god-configuration {
top: -100px;
}
#subDB_maintenance {
top: -120px;
}
#subExtension_manager {
top: -100px;
}
#subSetup {
top: -80px;
}
#menu_container {