Home  >  Article  >  Web Front-end  >  Perfect solution to the problem that jQuery fancybox ie cannot display the close button

Perfect solution to the problem that jQuery fancybox ie cannot display the close button

高洛峰
高洛峰Original
2016-12-03 15:21:36991browse

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 article perfectly solves the problem that jQuery fancybox ie cannot display the close button That’s all the content the editor shared with you


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