d
This commit is contained in:
parent
c3d79d1e7b
commit
8a81683fbf
@ -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');
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user