Home  >  Article  >  Web Front-end  >  How to display a div on an object without being blocked by the object animation. Explain the occlusion analysis

How to display a div on an object without being blocked by the object animation. Explain the occlusion analysis

高洛峰
高洛峰Original
2017-03-07 10:58:392047browse

When the mouse moves to the menu button, the p of the submenu appears, but it is blocked by the object animation and cannot be displayed. To solve this problem, here is a good solution. I hope it will be helpful to everyone. Today I made a menu button. When the mouse is moved to the button, a drop-down submenu function appears. The implementation is to put the submenu into a p and add a hover function to the menu button. But there is a p below the menu button, inside is an object tag, and a flash animation is placed inside. When the mouse moves to the menu button, the p of the submenu appears, but it is blocked by the object animation and cannot be displayed. I searched online and most of the solutions are not very helpful. Here we recommend a more feasible and simplest method: add in the object tag.

This method has limitations: it works for IE8, but does not work for Firefox and Google Chrome.

For more analysis and explanation of how to display a div on an object without being blocked by the object animation, please pay attention to the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn