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

Solution to the problem that jQuery fancybox cannot display the close button in IE browser_jquery

WBOY
Release: 2016-05-16 15:14:41
Original
1276 people have browsed it

If the version is: 1.3.1 IE cannot display the close button

If the version is: 1.3.4 IE6 cannot display the close button

Solution:

Version: 1.3.1

Open fancybox.css and comment out this line:

.fancybox-ie #fancybox-close {
background: transparent;
filter: progid : DXImageTransform.Microsoft.AlphaImageLoader ( src =
'images/fancy_close.png', sizingMethod = 'scale' );
}
Copy after login

Version: 1.3.4

Open jquery.fancybox-1.3.4.css and comment out this line:

.fancybox-ie6 #fancybox-close {
background: transparent;
filter: progid : DXImageTransform.Microsoft.AlphaImageLoader ( src =
'fancybox/fancy_close.png', sizingMethod = 'scale' );
}
Copy after login

The above content is the solution introduced by the editor to solve the problem that jQuery fancybox cannot display the close button in IE browser. I hope it will be helpful to everyone!

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