求高手!!
ie下禁止的方法是
document.body.get(0).ondragstart=function(e){
return false;
};
document.body.onselectstart=function(e){
return false;
};
firefox下的是
body{
-moz-user-focus:ignore;
-moz-user-input:disabled;
-moz-user-select:none;
}
可以兼容ie,firefox,chome
但是就是在opera下还是有效果
请问要怎么解决
ie下禁止的方法是
document.body.get(0).ondragstart=function(e){
return false;
};
document.body.onselectstart=function(e){
return false;
};
firefox下的是
body{
-moz-user-focus:ignore;
-moz-user-input:disabled;
-moz-user-select:none;
}
可以兼容ie,firefox,chome
但是就是在opera下还是有效果
请问要怎么解决
<body ondragstart="return false;">