Home >Web Front-end >JS Tutorial >Solution to the problem that jQuery fancybox cannot display the close button in IE browser_jquery

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

WBOY
WBOYOriginal
2016-05-16 15:14:411306browse

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' );
}

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' );
}

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!

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