Vabn KRE afgepakt, toch maar meecommitten
svn path=/Website/trunk/; revision=32236
This commit is contained in:
@@ -434,14 +434,14 @@ function showActions(event) // event op de mouseover van resultsettable
|
||||
|
||||
var trHeight = $(this).outerHeight();
|
||||
var pageHeight = $(window.parent).outerHeight();
|
||||
var dropDownHeight = $actiondiv.outerHeight();
|
||||
|
||||
var pageBottom = pageHeight - (hasMaxHist ? 47 : 30);
|
||||
var trTop = $(this).position().top - $(window.parent).scrollTop() - 5;
|
||||
var dropDownHeight = $actiondiv.outerHeight() - 5;
|
||||
var scrollCorr = 0;
|
||||
|
||||
outsideFrame = $(window.frameElement).offset();
|
||||
if (outsideFrame) trTop += outsideFrame.top;
|
||||
if (outsideFrame) scrollCorr = $(window.parent).scrollTop() - outsideFrame.top;
|
||||
|
||||
var trTop = $(this).offset().top;
|
||||
var pageBottom = pageHeight + scrollCorr;
|
||||
var dropDownBottom = trTop + dropDownHeight;
|
||||
var trBottom = trTop + trHeight;
|
||||
|
||||
@@ -468,6 +468,10 @@ function showActions(event) // event op de mouseover van resultsettable
|
||||
at: at,
|
||||
of: this
|
||||
});
|
||||
if (dropDownBottom > pageBottom)
|
||||
{
|
||||
$actiondiv.css('top', pageBottom - dropDownHeight);
|
||||
}
|
||||
|
||||
if (hambImg) $actiondiv.css('left', $(hambImg).position().left + $(hambImg).width() + "px");
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user