Home > Article > Web Front-end > Solution to the problem that jQuery fancybox cannot display the close button in IE browser_jquery
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!