svnno****@sourc*****
svnno****@sourc*****
2009年 3月 13日 (金) 22:42:04 JST
Revision: 1074 http://svn.sourceforge.jp/view?root=sie&view=rev&rev=1074 Author: dhrname Date: 2009-03-13 22:42:04 +0900 (Fri, 13 Mar 2009) Log Message: ----------- 不要なgradientの部分を削除 Modified Paths: -------------- branches/04x/045/sie.js Modified: branches/04x/045/sie.js =================================================================== --- branches/04x/045/sie.js 2009-03-13 13:39:51 UTC (rev 1073) +++ branches/04x/045/sie.js 2009-03-13 13:42:04 UTC (rev 1074) @@ -1278,18 +1278,16 @@ } el = cx - rx; et = cy - ry; er = cx + rx; eb = cy + ry; var outline = document.getElementById("_NAIBU_outline"); - var background = document.createElement("div"), gradient = document.createElement("div"); - background.style.position = "absolute"; gradient.style.position = "absolute"; + var background = document.createElement("div"); + background.style.position = "absolute"; background.style.top = 0; background.style.left = 0; background.style.width = this.w; background.style.height = this.h; outline.appendChild(background); - outline.appendChild(gradient); background.style.filter = "progid:DXImageTransform.Microsoft.Compositor"; background.filters.item('DXImageTransform.Microsoft.Compositor').Function = 23; var er2 = er - el / 2; var ellipse = "ar " +el+ "," +et+ "," +er+ "," +eb+ " " +er2+ ",0 " +er2+ ",0 e"; var circle = '<v:shape style="position:relative; antialias:false;" coordsize="' +this.w+ ' ' +this.h+ '" path="' +ellipse+ '" stroked="f">' +ele.outerHTML+ '</v:shape>'; background.innerHTML = '<v:shape style="position:relative;" coordsize="' +this.w+ ' ' +this.h+ '" path="' +data+ '" stroked="f" fillcolor="' +color[color.length-1]+ '" />'; - gradient.innerHTML = circle; background.filters[0].apply(); background.innerHTML = circle; background.filters[0].play();