This is exactly what I needed.  Had no idea what was going on when the
slide mysteriously had a background color that matches a div three
levels up in the hierarchy.  I guess there's no fix for the lack of
transparency with this attribute set?

On May 11, 1:37 pm, Maksym Melnyk <momel...@gmail.com> wrote:
> Here's the solution from the Mike Alsup.
>
> "Hi Shane,
>
> There are two cleartype options in Cycle, and unfortunately one of
> them is not documented (yet).
>
> The general purpose of the cleartype logic in Cycle is to workaround a
> rendering issue in IE when cleartype is enabled on the system.  When a
> Windows machine has cleartype enabled, IE6/7 render text aliased when
> there is an opacity filter applied to an element.  In IE6, the effects
> of this can be greatly minimized if the element in question has an
> explicit background color.
>
> When Cycle's 'cleartype' option is true the plugin will attempt to set
> a background color on all of the slides to provided better
> antialiasing support on IE6.  To determine the best bg color, the
> plugin walks up the parent hierarchy until it finds a parent with a
> non-transparent background color.  If it doesn't find one then it uses
> white.  In addition, when the cleartype option is true the plugin will
> always try to remove the opacity filter after the transition
> completes, this fixes the aliased text on IE7.
>
> Since Cycle is used in many, many different environments I realized
> that there are some cases in which setting a specific background color
> is not desirable.  A long time ago I added an option called
> 'cleartypeNoBg'.  When this option is true Cycle will *not* set a
> background color on the slide elements (but it will still remove the
> opacity filter after each slide transition).
>
> In Internet Explorer the default value of Cycle's 'cleartype' option
> is true in recent versions of the plugin.
>
> So to use the undocumented option you would do this:
>
> $('#slideshow').cycle({
>    cleartypeNoBg: true
>
> });
>
> Hope this helps with the problem you're having.
>
> Mike"
>
> On May 8, 11:03 pm, Chris <weonlyhavesoluti...@googlemail.com> wrote:
>
> > Hi,
>
> > I am having a problem with IE6 and thecycleplugin. In IE6 it shows a
> > black background over my div background image (I set via css a
> > background image to a master div). cleartype set to false,
> > cleartypeNoBg to true. I am cycling transparent png images. In IE7+
> > and Firefox everything is ok.
>
> > Any tip?
>
> > Thanks
> > Chris

Reply via email to