请问如何改变一个图片的背景色,急 透明的gif或者png就不用改了。photoshop里方便的 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 考段代码给你<STYLE> button {width:250px;} </STYLE> <!-- This DIV is the target container for the image. --> <DIV ID="oDiv" STYLE="position:absolute; left:270px;" > An Image - > <IMG SRC='file:///D:/end.gif' width="50" height="21" /> </DIV> <BUTTON onclick="oDiv.style.filter= 'progid:DXImageTransform.Microsoft.BasicImage(mirror=1)'"> Mirror</BUTTON><BR/> <BUTTON onclick="oDiv.style.filter= 'progid:DXImageTransform.Microsoft.BasicImage(invert=1)'"> Invert</BUTTON><BR/> <BUTTON onclick="oDiv.style.filter= 'progid:DXImageTransform.Microsoft.BasicImage(grayScale=1)'"> GrayScale</BUTTON><BR/> <BUTTON onclick="oDiv.style.filter= 'progid:DXImageTransform.Microsoft.BasicImage(xray=1)'"> X-Ray</BUTTON><BR/> <BUTTON onclick="oDiv.style.filter= 'progid:DXImageTransform.Microsoft.BasicImage(mask=1, maskColor=255)'"> Blue MaskColor</BUTTON><BR/> <BUTTON onclick="oDiv.style.filter=''">Clear Filter</BUTTON><BR/> <img>标签的onerror事件不会冒泡吗? 关于html页面frameset框架隐藏问题!!急求答案 正则函数修改 这断js有个问题 帮看看 select触发js事件问题,,急,在线等 document.execCommand("CreateLink", false, "不能指定缺省值?") JS中如何实现一个类似C++的链表头指针的形式?求教 请问在javascript中。如何去掉一个字符串两头的空格 关于用showModalDialog()打开的窗口的问题!?? js把参数传给iframe之后,怎么再传给自己 如何写一个Pop.js文件,弹出一个IE窗体 如何改变表格某一行的颜色?
<STYLE>
button {width:250px;}
</STYLE>
<!-- This DIV is the target container for the image. -->
<DIV ID="oDiv" STYLE="position:absolute; left:270px;" >
An Image - >
<IMG SRC='file:///D:/end.gif' width="50" height="21" />
</DIV>
<BUTTON onclick="oDiv.style.filter=
'progid:DXImageTransform.Microsoft.BasicImage(mirror=1)'">
Mirror</BUTTON><BR/>
<BUTTON onclick="oDiv.style.filter=
'progid:DXImageTransform.Microsoft.BasicImage(invert=1)'">
Invert</BUTTON><BR/>
<BUTTON onclick="oDiv.style.filter=
'progid:DXImageTransform.Microsoft.BasicImage(grayScale=1)'">
GrayScale</BUTTON><BR/>
<BUTTON onclick="oDiv.style.filter=
'progid:DXImageTransform.Microsoft.BasicImage(xray=1)'">
X-Ray</BUTTON><BR/>
<BUTTON onclick="oDiv.style.filter=
'progid:DXImageTransform.Microsoft.BasicImage(mask=1, maskColor=255)'">
Blue MaskColor</BUTTON><BR/>
<BUTTON onclick="oDiv.style.filter=''">Clear Filter</BUTTON><BR/>