dreasgrech/fb-grouptubes — Issue #11: The bug with the height issue
Author: dreasgrech
Created: 2012-01-23 15:13:03+00:00
State: open

totalHeight = 0 ;

should be

totalHeight = getElementAbsoluteY(box.find("canvas")[0]);

where

var getElementAbsoluteY = function(el) {
var iReturnValue = 0;
while( el != null ) {
iReturnValue += el.offsetTop;
el = el.offsetParent;
}

return iReturnValue;
},