You are viewing this page out of context. To see it in the context it is intended please click here.
About This Page
Reply posted by Tanny O'Haley on Wed 30 Apr 2008 in response to Drag-n-Drop Sorting of Documents
Re: Do you have a later version
I got it done, though I had to change setStyle in the prototype.js file becauseof a "feature" of IE 7. When you add a CSS filter to an element in IE 7 it
turns off clear type.
http://tanny.ica.com/ICA/TKO/tkoblog.nsf/dx/has-ie7-broken-css-filters
Now that might not be a problem for some, but it is a problem for me. The D'N'D
code sets opacity when dragging then sets opacity to 1 when it finishes
dragging. In IE a filter is used to set opacity. Because it leaves a filter the
dropped item's text appears pixilated. The solution is to remove the filter if
the filter is blank. I added the following statements after the three places
that it sets adds the filter in setStyle for opacity.
if(element.style.filter.length === 0)
element.style.removeAttribute('filter');
Not the best solution, the text is still pixilated when dragging but at least
clear type gets turned back on when the item is dropped.