This commit is contained in:
James 2020-03-29 09:35:23 +01:00
parent c3d79d1e7b
commit 8a81683fbf

View File

@ -85,9 +85,11 @@ define(["jquery"], function ($) {
console.log("tt:"+tableTop+" st:"+scrollTop+" bt:"+buttonTop); console.log("tt:"+tableTop+" st:"+scrollTop+" bt:"+buttonTop);
if( scrollTop > tableTop ){ if( scrollTop > tableTop ){
$("#button_container").css('top', tableTop-(scrollTop-tableTop)); //$("#button_container").css('top', tableTop-(scrollTop-tableTop));
$("#button_container").css('position', 'fixed');
}else{ }else{
$("#button_container").css('top', tableTop); //$("#button_container").css('top', tableTop);
$("#button_container").css('position', 'absolute');
} }
/* /*