Created
December 1, 2010 20:39
-
-
Save dustincurrie/724183 to your computer and use it in GitHub Desktop.
Show background image in jquery cycle on IE
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
jQuery Cycle has a bug in IE 7 and 8 where a white background is added to cycle elements. That will override background images. If your cycle object has a background image and you use the cleartype fix, the background won't show. Cycle has a property 'cleartypeNoBg' to address this issue. Set the property to true. | |
*/ | |
$('.mycycleclass') | |
.cycle({ | |
fx: 'scrollHorz', | |
cleartype: true, | |
cleartypeNoBg: true, | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment