Grayscale / Visible Image Yapımı !

Silverday

Altın Üye
Altın Üye
Katılım
3 May 2006
Mesajlar
3,551
Reaction score
0
Puanları
0
Konum
sakarya
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

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:)) olan:


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" />
 
Geri
Üst