Problems with mouseout event

后端 未结 6 1410
忘了有多久
忘了有多久 2021-02-09 15:11

I\'m using JavaScript to hide an image and show some text thats hidden under it. But, when the text is shown if you scroll over it, it fires the mouseout event on the container,

6条回答
  •  南旧
    南旧 (楼主)
    2021-02-09 15:37

    Shouldn't the onmouseover event be on the image div and the onmouseout event be on the text div?

提交回复
热议问题