Home >
Article > Web Front-end > Add a hyperlink to Flash (transparent layer recommended) compatible with mainstream browsers_javascript skills
Add a hyperlink to Flash (transparent layer recommended) compatible with mainstream browsers_javascript skills
WBOYOriginal
2016-05-16 17:32:281096browse
Today I want to add a hyperlink to a Flash on Xingzhu.com. I originally wanted to put a hyperlink directly outside the object, but after trying it, I found that this is not the case. I asked Baidu to help solve the problem. The record is as follows:
Cause: Flash is the highest layer by default. Therefore, I often encounter situations where Flash blocks the drop-down menu and covers other elements.
Solution:
First method: The steps are as follows 1. Put the Flash file in a layer, set it to the bottom layer, and set FLASH to transparent.
2. Add another layer to the FLASH layer. Flash itself cannot directly join onclick. and other events, so, You can only use other things. Just add a transparent layer on FLASH:
Description: The transpanrent.gif needs to be transparent, otherwise it will be covered by the Flash underneath; 3. For IE browser, just go to the above step, and Firefox needs the next step Add
The second option was found online but has not been tried, as follows : It is to call external scripts through FSCommand inside Flash. The method is simple and practical, with strong controllability. For specific usage, please search for FSCommand keywords online.
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