img src ile konulan resmin rengni değiştirir.mousla üstüne gelince resim orjinal halini alır.
tasarımda çok hoş duruyor tavsiye ederim :melek
şeffaf resim, üstüne gelince orjinale çevir
buda grayscale (grimsi
) olan:
tasarımda çok hoş duruyor tavsiye ederim :melek
şeffaf resim, üstüne gelince orjinale çevir
HTML:
<SCRIPT type=text/javascript>
function seffafyap(cur,which){
strength=(which==0)? 1 : 0.5
if (cur.style.MozOpacity)
cur.style.MozOpacity=strengt
else if (cur.filters)
cur.filters.alpha.opacity=strength*100
}
</SCRIPT>
<img onmouseover="seffafyap(this,0);" style="FILTER: alpha(opacity=50); -moz-opacity: 0.5" onmouseout="seffafyap(this,1);" src="http://www.hackhell.com/images/approx/smilies/hhsmile.gif" border="0">
buda grayscale (grimsi
HTML:
<img style="filter:gray();" onmouseover="this.style.filter='none'" onmouseout="this.style.filter='gray()'" src="http://www.hackhell.com/images/approx/smilies/hhsmile.gif" />