Home >Web Front-end >HTML Tutorial >Looking for the best JS translucent floating window code_html/css_WEB-ITnose

Looking for the best JS translucent floating window code_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 12:03:081792browse

Do you have any code to implement the best JS translucent floating window?
When Phoenix is ​​opened, a translucent advertisement covering most of the screen will appear. It will disappear automatically after a while. It can also be closed manually. It is also available on the Youku homepage. As shown in the picture:


Reply to the discussion (solution)

If you look at its source code, you will see the implementation. Have you coded it?

His ad time-based one has cookies. It will be gone if you turn it off, and it will be gone the next day.

Use position:fixed setTimeout

http ://blog.csdn.net/kabulore/article/details/25159287

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