Find this function:
Code:
function initalizetooltip(){
var all_links=document.getElementsByTagName("a")
if (enablearrowhead){
tiparrow=document.createElement("img")
tiparrow.setAttribute("src", arrowheadimg[0])
tiparrow.setAttribute("id", "arrowhead")
document.body.appendChild(tiparrow)
}
for (var i=0; i<all_links.length; i++){
if (reltoelement(all_links[i])){ //if link has "rel" defined and it's the ID of an element on page
all_links[i].onmouseover=function(e){
var evtobj=window.event? window.event : e
displayballoontip(this, evtobj)
}
all_links[i].onmouseout=delayhidemenu
}
}
}
And instead, use:
Code:
function initalizetooltip() {
var all_links = document.getElementsByTagName("a");
if (enablearrowhead) {
tiparrow = document.createElement("img");
tiparrow.src = arrowheadimg[0];
tiparrow.id = "arrowhead";
document.body.appendChild(tiparrow);
}
var onf = function(e) {
displayballoontip(this, e || event);
document.onclick = delayhidemenu;
};
for (var i=0; i<all_links.length; i++)
if (reltoelement(all_links[i])) //if link has "rel" defined and it's the ID of an element on page
all_links[i].onclick = onf;
}
Bookmarks