我在“a”html标记中使用onMouseover事件。
<a href="#" onMouseover="ddrivetip('text')"; onMouseout="hideddrivetip()">
在我的项目中,我也在CSS中使用媒体查询。
@media screen and (min-width: 241px) and (max-width: 320px){
/*CSS code here*/
}
我的问题是,当屏幕宽度与其中一个媒体查询匹配时,如何禁用onMouseover?
提前致谢!