在需要右键的地方加上
onmousedown="righthit()";funciton righthit(){
if (event.button==2)
{
//DoSomeThing
}
}在需要右键的地方加上 onmousedown="righthit()"; funciton righthit(){ if (event.button==2) {...
在需要右键的地方加上
onmousedown="righthit()";funciton righthit(){
if (event.button==2)
{
//DoSomeThing
}
}
自定义右键菜单