[jQuery] Re: Prevent jagged text in IE

2009-10-08 Thread Kevin Dalman
@Dave If this problem has a good fix, it should be fixed. There are several cases that will break differently in IE when this proposed fix is applied. It's not achieving consistent cross-browser behavior. There may be a solution out there still, and if someone has one they should post it. I

[jQuery] Re: Prevent jagged text in IE

2009-09-30 Thread Kevin Dalman
@Dave with the fix, fades out but then pops to 50% opacity I'm not sure why this 'fix' should be added to fadeOut? It seems most applicable to fadeIn and fadeTo. But whatever the case, a little extra code could handle edge-cases -- something like... if (jQuery.browser.msie

[jQuery] Re: Prevent jagged text in IE

2009-09-30 Thread Dave Methvin
I'm not sure why this 'fix' should be added to fadeOut? It seems most applicable to fadeIn and fadeTo. Whoops, right. So the problem would be that in IE only, .fadeTo (slow, 1) makes the element completely visible and then pops to 50% opacity based on the stylesheet when the element's filter

[jQuery] Re: Prevent jagged text in IE

2009-09-29 Thread daves_essay
Although it is not the most elegant of solutions, I found that adding position:relative to the element in question preserved the smoothness of the div's content when using fadeTo. Hope this helps. Ben On Sep 26, 12:56 am, Dave Maharaj :: WidePixels.com d...@widepixels.com wrote: I have

[jQuery] Re: Prevent jagged text in IE

2009-09-29 Thread Dave Methvin
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:

[jQuery] Re: Prevent jagged text in IE

2009-09-28 Thread ryan.j
deprecating the UA interrogation was a bad move imo, simply because sometimes you legitimately want to know what browser somebody is running, rather than whether it has support for feature-x. it takes 5 mins to write a function to find the browser/os/whatever (and five seconds to copy/paste one

[jQuery] Re: Prevent jagged text in IE

2009-09-27 Thread ryan.j
browser sniffing is already deprecated in favour of feature sniffing, it's unlikely code using it will be added. On Sep 27, 5:13 am, Kevin Dalman kevin.dal...@gmail.com wrote: @Rick if (jQuery.browser.msie)     this.style.removeAttribute('filter'); This is a nice simple solution to a

[jQuery] Re: Prevent jagged text in IE

2009-09-27 Thread Kevin Dalman
If browser-detection can't be used, then subsititute code to detect the filter attribute instead. The exact syntax is not important... I believe jQuery SHOULD handle this cross-browser animation issue because it is common to the majority of users. It is clearly a deficiency when jQuery's own

[jQuery] Re: Prevent jagged text in IE

2009-09-26 Thread Dave Maharaj :: WidePixels.com
(English) Subject: [jQuery] Re: Prevent jagged text in IE What happens if you set a solid background-color to the element that holds the text? On Sep 25, 3:08 pm, Dave Maharaj :: WidePixels.com d...@widepixels.com wrote: Thanks, Will give it a shot. Dave   _ From: Rick Faircloth

[jQuery] Re: Prevent jagged text in IE

2009-09-26 Thread Mike Alsup
On Sep 25, 8:17 pm, Rick Faircloth r...@whitestonemedia.com wrote: I include a reference to a file with this jQuery code in every page to solve that problem, Dave. Best solution I've found so far. I got it from someone, somewhere, but don't remember who.

[jQuery] Re: Prevent jagged text in IE

2009-09-26 Thread Rick Faircloth
Much appreciated, Mike! It's been of tremendous benefit! Rick -Original Message- From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf Of Mike Alsup Sent: Saturday, September 26, 2009 9:26 AM To: jQuery (English) Subject: [jQuery] Re: Prevent jagged text in IE

[jQuery] Re: Prevent jagged text in IE

2009-09-26 Thread Kevin Dalman
@Rick if (jQuery.browser.msie) this.style.removeAttribute('filter'); 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. /Kevin On Sep 25, 5:17 pm, Rick

[jQuery] Re: Prevent jagged text in IE

2009-09-25 Thread Michael Geary
Make sure the text opacity is 100%. Don't fade it in. IE renders non-antialiased text when opacity is less than 100%. If that's not it, post a link to a test page. -Mike On Fri, Sep 25, 2009 at 4:56 PM, Dave Maharaj :: WidePixels.com d...@widepixels.com wrote: I have content that loads into

[jQuery] Re: Prevent jagged text in IE

2009-09-25 Thread Rick Faircloth
To: jquery-en@googlegroups.com Subject: [jQuery] Re: Prevent jagged text in IE Make sure the text opacity is 100%. Don't fade it in. IE renders non-antialiased text when opacity is less than 100%. If that's not it, post a link to a test page. -Mike On Fri, Sep 25, 2009 at 4:56 PM, Dave Maharaj

[jQuery] Re: Prevent jagged text in IE

2009-09-25 Thread Dave Maharaj :: WidePixels.com
Thanks, Will give it a shot. Dave _ From: Rick Faircloth [mailto:r...@whitestonemedia.com] Sent: September-25-09 9:48 PM To: jquery-en@googlegroups.com Subject: [jQuery] Re: Prevent jagged text in IE I include a reference to a file with this jQuery code in every page to solve

[jQuery] Re: Prevent jagged text in IE

2009-09-25 Thread James
:48 PM To: jquery-en@googlegroups.com Subject: [jQuery] Re: Prevent jagged text in IE I include a reference to a file with this jQuery code in every page to solve that problem, Dave. Best solution I've found so far. I got it from someone, somewhere, but don't remember who. Rick