当您悬停在iframe属性中时,我无法禁用该元素的效果。有没有其他办法来解决目前的问题?iframe禁用悬停效果
这里是我的代码和原始的解决方案:
iframe id="clock1" src="http://free.timeanddate.com/clock/i52azneg/n2253/szw110/szh110/hbw0/hfc000/cf100/hgr0/fav0/fiv0/mqcfff/mql15/mqw4/mqd94/mhcfff/mhl15/mhw4/mhd94/mmv0/hhcbbb/hmcddd/hsceee" frameborder="0" width="110" height="110"></iframe>
script>
$("iframe#clock1").contents().find("#hov").hide();
/script>
为什么不试试css#使用#时间#hov:hover { display:none; } –
@YagnikDetroja,我已经试过这种方法,但没有工作 –