Home > Web Front-end > JS Tutorial > body text

The perfect revised version of Baidu popup.js is very good. Recommended by Script House_Page background

WBOY
Release: 2016-05-16 18:54:01
Original
1187 people have browsed it

The reason is that the screen coordinates are incorrectly determined after adding the document type (DOCTYPE) to the HTML. There is also a solution on the Internet, which is to remove the document type. I think this method of treating the symptoms but not the root cause is very unreasonable. I spent some time to modify it. . After testing IE6, IE7, Firefox2.0, Firefox3.0, there is no problem. I have not tested the others. The modified compressed file is about 2KB larger and is now 16.2 KB. It is quite reasonable under the current network bandwidth. I can provide an annotated version of popup.js if necessary. Please believe that bloggers have a sharing spirit.
Historical version description:
V1.0.0 2008.07
Download popup.js from Baidu Space and apply it to the blog system
V1.1.0 2008.07 
Modification due to conflict with document type (DOCTYPE) , the mask layer is misplaced
V1.2.0 2008.11 
Modify that due to the short page, the mask layer cannot completely mask the page
Modify that when the mask is opened in non-full screen, the mask layer cannot be full screen after the page is full screen. Problem
The problem of dragging out the mask area in the modification dialog box

Updated in 20100413, there is a small problem.
Online test http://img.jb51.net/online/popup/popup.html
The perfect revised version of Baidu popup.js is very good. Recommended by Script House_Page background

Package download address

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!