Cara mudah memasang ZOOM image di blog

Tidak ada komentar
Cukup pasang kode di bawang ini di code HTML blog mu.
<style type="text/css">
.thumbnail{
position: relative;
z-index: 0;
}

.thumbnail:hover{
background-color: transparent;
z-index: 50;
}

.thumbnail span{ /*CSS for enlarged image*/
position: absolute;
background-color: lightyellow;
padding: 5px;
left: -1000px;
border: 1px dashed gray;
visibility: hidden;
color: black;
text-decoration: none;
}

.thumbnail span img{ /*CSS for enlarged image*/
border-width: 0;
padding: 2px;
}

.thumbnail:hover span{ /*CSS for enlarged image on hover*/
visibility: visible;
top: 0;
left: 60px; /*position where enlarged image should offset horizontally */

}

</style>

<a class="thumbnail" href="#thumb">
<img src="http://i471.photobucket.com/albums/rr73/joel_fuentes/546434_104412219695165_100003791616395_19085_1346601575_n1.jpg" width="100px" height="66px" border="0" /><span>
<img src="http://i471.photobucket.com/albums/rr73/joel_fuentes/546434_104412219695165_100003791616395_19085_1346601575_n1.jpg" width="200px" height="200px" /><br />Simply beautiful.</span></a>


Note:
Ganti tulisan warna merah dengan URL gambarmu
Ganti tulisan warna Biru dengan URL Gambarmu bisa juga cukup di ganti dengan tulisan biasa
Ganti tulisan warna Hijau dengan Keterangan gambarmu
width:   = Lebar
height:  = Tinggi

Demikian Tips Dari saya semoga sukses.
Jika Kurang mengerti silahkan hubungi kami....!


Tidak ada komentar :

Posting Komentar

CHAT ON TV
CHAT NOW TV ONE


» Please download Adobe Flash Player « before watching the streaming