Monotone-Parent: 3f62f5802ffb2cb6b250f3c26f2ab31cbbf51ba8

Monotone-Revision: 302f484fd09755203847210e4516fd857566b410

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2006-07-12T22:03:05
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2006-07-12 22:03:05 +00:00
parent b6bfb97c47
commit ba266098cc
15 changed files with 539 additions and 503 deletions

View File

@@ -40,3 +40,24 @@ function validateControls() {
function moveTo(uri) {
alert("MoveTo: " + uri);
}
function popupSearchMenu(elem, event, menuName)
{
relX = (event.pageX
- (elem.parentNode.offsetLeft + elem.offsetLeft));
relY = (event.pageY
- elem.parentNode.parentNode.parentNode.offsetTop);
window.alert(elem.style.height);
// if (event.button == 1
// &&
// acceptClick = false;
// bodyOnClick = "" + document.body.getAttribute("onclick");
// document.body.setAttribute("onclick", "onBodyClick('" + menuId + "'); return false;");
// popup = document.getElementById(menuId);
// popup.setAttribute("style", "visibility: visible; top: " + event.pageY
// + "px; left: " + event.pageX + "px;" );
// menuClickNode = node;
// window.alert
return false;
}