我从天民老师处看到一组全功能羽化代码,比起我们原先用的羽化代码功能多了不少,能全方位地羽化图片,以前用的羽化代码显的呆板,你只要有耐心,能随心所欲的调出你所需要的羽化图片!我拿回家后进行了多次调试,现在提供给朋友借鉴仿制。
和尚编写 2009-05-14
这就是天民老师提供的全方位羽化代码,调整各数字关系出不同效果: style="FILTER: alpha(opacity=0,finishopacity=0,startx=0,starty=10,finishx=0,finishy=0,style=0)" 这是原图:
上部羽化:
下部羽化:
右部羽化:
左部羽化:
右上角羽化:
左下角羽化:
左上角羽化:
右下角羽化:
四角羽化:
四边羽化:
中间羽化:
我再提供全套代码,朋友还可仔细调整各组数字,使图片更符合你的要求。
上部羽化: <DIV align=center><IMG style="FILTER: alpha(opacity=0,finishopacity=100,startx=0,starty=0,finishx=0,finishy=90,style=1) WIDTH: 450px; HEIGHT: 300px; TEXT-ALIGN: center" height=300 src="http://image40.360doc.com/DownloadImg/2011/10/2207/18666964_1.jpg" width=450 border=0 type="image"></A></DIV>
下部羽化: <DIV align=center><IMG style="FILTER: alpha(opacity=100,finishopacity=0,startx=0,starty=0,finishx=0,finishy=90,style=1) WIDTH: 600px; HEIGHT: 450px; TEXT-ALIGN: center" height=450 src="http://image40.360doc.com/DownloadImg/2011/10/2207/18666964_1.jpg" width=600 border=0 type="image"></A></DIV>
右部羽化: <DIV align=center><IMG style="FILTER: alpha(opacity=20,finishopacity=100,startx=60,starty=0,finishx=0,finishy=0,style=1) WIDTH: 600px; HEIGHT: 450px; TEXT-ALIGN: center" height=450 src="http://image40.360doc.com/DownloadImg/2011/10/2207/18666964_1.jpg" width=600 border=0 type="image"></A></DIV>
左部羽化: <DIV align=center><IMG style="FILTER: alpha(opacity=0,finishopacity=100,startx=5,starty=0,finishx=100,finishy=0,style=1) WIDTH: 600px; HEIGHT: 450px; TEXT-ALIGN: center" height=450 src="http://image40.360doc.com/DownloadImg/2011/10/2207/18666964_1.jpg" width=600 border=0 type="image"></A></DIV>
右上角羽化: <DIV align=center><IMG style="FILTER: alpha(opacity=80,finishopacity=20,startx=0,starty=50,finishx=20,finishy=0,style=1) WIDTH: 600px; HEIGHT: 450px; TEXT-ALIGN: center" height=450 src="http://image40.360doc.com/DownloadImg/2011/10/2207/18666964_1.jpg" width=600 border=0 type="image"></A></DIV>
左下角羽化: <DIV align=center><IMG style="FILTER: alpha(opacity=80,finishopacity=10,startx=20,starty=0,finishx=0,finishy=30,style=1) WIDTH: 600px; HEIGHT: 450px; TEXT-ALIGN: center" height=450 src="http://image40.360doc.com/DownloadImg/2011/10/2207/18666964_1.jpg" width=600 border=0 type="image"></A></DIV>
左上角羽化: <DIV align=center><IMG style="FILTER: alpha(opacity=100,finishopacity=10,startx=100,starty=60,finishx=60,finishy=0,style=1) WIDTH: 600px; HEIGHT: 450px; TEXT-ALIGN: center" height=450 src="http://image40.360doc.com/DownloadImg/2011/10/2207/18666964_1.jpg" width=600 border=0 type="image"></A></DIV>
右下角羽化: <DIV align=center><IMG style="FILTER: alpha(opacity=100,finishopacity=10,startx=20,starty=0,finishx=60,finishy=60,style=1) WIDTH: 600px; HEIGHT: 450px; TEXT-ALIGN: center" height=450 src="http://image40.360doc.com/DownloadImg/2011/10/2207/18666964_1.jpg" width=600 border=0 type="image"></A></DIV>
四角羽化: <DIV align=center><IMG style="FILTER: alpha(opacity=100,finishopacity=10,startx=10,starty=0,finishx=30,finishy=30,style=2) WIDTH: 600px; HEIGHT: 450px; TEXT-ALIGN: center" height=450 src="http://image40.360doc.com/DownloadImg/2011/10/2207/18666964_1.jpg" width=600 border=0 type="image"></A></DIV>
四边羽化: <DIV align=center><IMG style="FILTER: alpha(opacity=100,finishopacity=10,startx=20,starty=20,finishx=30,finishy=30,style=3) WIDTH: 600px; HEIGHT: 450px; TEXT-ALIGN: center" height=450 src="http://image40.360doc.com/DownloadImg/2011/10/2207/18666964_1.jpg" width=600 border=0 type="image"></A></DIV>
中间羽化: <DIV align=center><IMG style="FILTER: alpha(opacity=0,finishopacity=70,startx=10,starty=10,finishx=80,finishy=80,style=2) WIDTH: 600px; HEIGHT: 450px; TEXT-ALIGN: center" height=450 src="http://image40.360doc.com/DownloadImg/2011/10/2207/18666964_1.jpg" width=600 border=0 type="image"></A></DIV> |