Home  >  Article  >  Web Front-end  >  js实现点击链接后窗口缩小并居中的方法_javascript技巧

js实现点击链接后窗口缩小并居中的方法_javascript技巧

WBOY
WBOYOriginal
2016-05-16 16:11:421309browse

本文实例讲述了js实现点击链接后窗口缩小并居中的方法。分享给大家供大家参考。具体分析如下:

这是一个简单的JS特效,以前没有见到过,就是当点击页面上指定文字链接的时候,页面窗口缩小,并居中显示,然后在居中的窗口中显示链接内容,但愿这些网页特效能在日后派上用场

复制代码 代码如下:

窗口的缩小居中






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