Image opacity 1
jadi pudar apabila sang cursor menyentuh.
1Dashbourd -> Design-> Page element-> Add gadget-> Html/javascript.
2.Copy code dibawah:
<style>
/* ----- Image opacity effect 1 ----- */
.post a img {
filter:alpha(opacity=100);
-moz-opacity: 1.0;
opacity: 1.0;
-khtml-opacity: 1.0;
}
.post a:hover img {
filter:alpha(opacity=50);
-moz-opacity: 0.5;
opacity: 0.5;
-khtml-opacity: 0.5;
}
</style>
3.pastekan di Html/javascript tadii.
Image opacity 2
pic yang terang akan jadi jelas semula apabila cusor menyentuh
1Dashbourd -> Design-> Page element-> Add gadget-> Html/javascript.
2.Copy code dibawah:
<style>
/* ----- Image opacity effect 2 ----- */
.post a img {
filter:alpha(opacity=50);
-moz-opacity: 0.5;
opacity: 0.5;
-khtml-opacity: 0.5;
}
.post a:hover img {
filter:alpha(opacity=100);
-moz-opacity: 1.0;
opacity: 1.0;
-khtml-opacity: 1.0;
}
</style>
3.pastekan di Html/javascript tadii.
okey siap, korang hanya boleh plih salah satu jeee. TAK BOLEH ambik dua, okeyy ^_^ selamat mencubaa
credit: sini
1 comment:
nak tanya mcm mne nak wt opacity gambar dari gelap ke cerah tu efect dia lmbt? macam awk punya tu kn, bila cursor hala ke gambar awk tu efect cerah dia lambat.. tolong plez? =)
Post a Comment