Project

General

Profile

Bug #17848 » bug_6831_clickmenu-border.diff

Administrator Admin, 2007-11-25 21:22

View differences:

typo3/js/clickmenu.js (working copy)
y += (dimsWindow.height - dims.height - relative.Y);
}
}
// adjusting the X position like Y above
// adjusting the X position like Y above, but adjust it on the left side of the viewport if it does not fit completely
if (dimsWindow.width - dims.width < relative.X) {
if (relative.X > dims.width) {
x -= (dims.width - 10);
} else {
} else if ( (dimsWindow.width - dims.width - relative.X) < offset.left ) {
x = offset.left;
}
else {
x += (dimsWindow.width - dims.width - relative.X);
}
}
(1-1/3)