Home  >  Article  >  Web Front-end  >  jquery三个关闭弹出层的小示例_jquery

jquery三个关闭弹出层的小示例_jquery

WBOY
WBOYOriginal
2016-05-16 17:17:35968browse

在开发应用中我们做了一个弹出层,有时我们会做一个关闭按钮,这样点击关闭就可以把弹出层关闭了,但是有时希望只要不点击弹出层内就自动关闭弹出层了,下面我总结了三个实例。
例1

复制代码 代码如下:




点击空白处关闭弹出窗口









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