Edit: I just tried again, removing the filter from the contentslider.css file, and your method worked, but still looked pretty ugly during the transition
Hey DD, I just tried your updated code, and earlier today I had tried my own versions. I was disappointed to see that in all cases, including your code just now unless I got something wrong, that even if the filter was technically removed, the unpleasant negation of Clear Type still persisted. In fact, with your version it appears that the filter isn't even removed. This all may have something to do with the filter not being set via javascript to begin with, or it may be a larger issue.
Notes: I had tried:
Code:
element.style.removeAttribute("filter");
And, in IE 7's developer toolbar, that didn't even technically remove the filter. I then tried another method:
Code:
element.runtimeStyle.filter = '';
That at least technically removed the filter as far as the developer toolbar was concerned. However, as I say, the lack of Clear Type persisted.
I have dealt with this issue in other scripts, my approach has always been to simply reserve IE filters (they all do this to Clear Type in IE 7, at least as far as I can tell) exclusively for images or containers with only images in them. How to do that with Content Slider would be a little tricky, but not impossible. We would just need to have two or more divs in the class="contentdiv" areas, only one of which would fade, that one containing the image(s). The text could go outside that div.
One clue that these filters are intended only for images anyway can be found in their name(s), ex:
Code:
filter:progid:DXImageTransform.Microsoft.alpha(opacity=100);
Bookmarks