Gradient transparency of object in RaphaelJS
问题 I'm trying to get a rectangle partly transparent where the left part is opaque while the right part is more transparent if you go into that direction. This works in Firefox, Chrome but not in Internet Explorer 7 or IE8. In IE all rectangles are displayed with the same transparent gradient. function drawTest(y, pct) { var recttest = paper.rect(25,y,100,30); var gradstr = "0.0-#db38cc:5-#db38cc:"+pct; recttest.attr({"fill": gradstr,"opacity": "0.01"}); } $(document).ready(function() { paper =