Javascript Firefox浏览器悬停时锚定标记的定位问题 功能函数显示菜单(oevent、stabid、irowindex){ 可旋转变量、orow、ocol; otable=eval(document.all.tabmenu); 对于(变量ictr=otable.rows.length-1;ictr>=0;ictr--) otable.deleteRow(卢旺达问题国际法庭); orow=otable.insertRow(); ocol=orow.insertCell(); ocol.innerHTML=“”; orow=otable.insertRow(); ocol=orow.insertCell(); ocol.innerHTML=“”; otable.style.posTop=document.body.scrollTop+oevent.clientY; otable.style.posLeft=document.body.scrollLeft+oevent.clientX; otable.style.display=“”; }
当我将鼠标悬停在我的行上时,修改/删除链接出现在firefox浏览器的页面底部,与其他浏览器一样,它可以正常工作。请帮忙Javascript Firefox浏览器悬停时锚定标记的定位问题 功能函数显示菜单(oevent、stabid、irowindex){ 可旋转变量、orow、ocol; otable=eval(document.all.tabmenu); 对于(变量ictr=otable.rows.length-1;ictr>=0;ictr--) otable.deleteRow(卢旺达问题国际法庭); orow=otable.insertRow(); ocol=orow.insertCell(); ocol.innerHTML=“”; orow=otable.insertRow(); ocol=orow.insertCell(); ocol.innerHTML=“”; otable.style.posTop=document.body.scrollTop+oevent.clientY; otable.style.posLeft=document.body.scrollLeft+oevent.clientX; otable.style.display=“”; },javascript,asp.net,firefox,Javascript,Asp.net,Firefox,当我将鼠标悬停在我的行上时,修改/删除链接出现在firefox浏览器的页面底部,与其他浏览器一样,它可以正常工作。请帮忙 您可以在firefox中看到错误控制台,也可以使用附加组件查看java脚本错误。没有错误,位置不起作用properly@rohitsingh你能制作小提琴吗?我以前没用过小提琴,但我已经添加了图像 function func_showmenu(oevent, stabid, irowindex) { var otable, orow, ocol;
您可以在firefox中看到错误控制台,也可以使用附加组件查看java脚本错误。没有错误,位置不起作用properly@rohitsingh你能制作小提琴吗?我以前没用过小提琴,但我已经添加了图像
function func_showmenu(oevent, stabid, irowindex) {
var otable, orow, ocol;
otable = eval(document.all.tabmenu);
for(var ictr=otable.rows.length-1;ictr>=0;ictr--)
otable.deleteRow(ictr);
orow = otable.insertRow();
ocol = orow.insertCell();
ocol.innerHTML = "<a href=javascript:func_adddoc('moddoc',"+irowindex+")>Modify</a>";
orow = otable.insertRow();
ocol = orow.insertCell();
ocol.innerHTML = "<a href=javascript:func_delrow('" + stabid + "'," + irowindex + ")>Delete</a>";
otable.style.posTop = document.body.scrollTop + oevent.clientY;
otable.style.posLeft = document.body.scrollLeft + oevent.clientX;
otable.style.display = "";
}