Tuesday, September 29, 2009

[jQuery] Re: Prevent jagged text in IE

> This is a nice simple solution to a common cross-browser issue, so
> wouldn't it be reasonable for this to be added to the standard jQuery
> animate method? The extra size is minimal.

That solution assumes no opacity was specified in a stylesheet.

<style>
#glory {
opacity: 0.5;
filter: alpha(opacity = 50);
}
</style>
<script>
// with the "fix", fades out but then pops to 50% opacity
$("#glory").fadeOut();
</script>

No comments: