weLcome To Dai-detected

Image Zoom Menggunakan jQuery

Bagikan ke Teman! :


memberikan efek zoom untuk gambar postingan kita, ketika gambar itu di klik.


Cara Pemasangan : Masukkan kode dibawah diatas kode ]]></b:skin>

div.jquery-image-zoom {
line-height: 0; font-size: 0; z-index: 10; border: 5px solid #fff; margin: -5px; -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.3); -moz-box-shadow: 0 0 10px rgba(0, 0, 0, 0.3); box-shadow: 0 0 10px rgba(0, 0, 0, 0.3); } div.jquery-image-zoom a { background: url(http://4.bp.blogspot.com/-G1qrX_PGmhs/TiQiQ2czjNI/AAAAAAAAALU/YJkmJS5yww8/s1600/jquery.imageZoom.png) no-repeat; display: block; width: 25px; height: 25px; position: absolute; left: -17px; top: -17px; /* IE-users are prolly used to close-link in right-hand corner */ *left: auto; *right: -17px; text-decoration: none; text-indent: -100000px; outline: 0; z-index: 11; } div.jquery-image-zoom a:hover { background-position: left -25px; } div.jquery-image-zoom img, div.jquery-image-zoom embed, div.jquery-image-zoom object, div.jquery-image-zoom div { width: 100%; height: 100%; margin: 0; }

terakhir : Masukkan Javascript ini di diatas kode </head>

<script src='http://lorddayz.googlecode.com/files/jquery.min.js' type='text/javascript'/> <script src='http://lorddayz.googlecode.com/files/imageZoom.min.js' type='text/javascript'/> <script type='text/javascript'> jQuery(document.body).imageZoom(); </script>

http://om-dayz.blogspot.com/2011/07/on-click-image-zoom.html#axzz1rRq9sFnv

0 komentar — Skip ke Kotak Komentar

:a: :b: :c: :d: :e: :f: :g: :h: :i: :j: : :l: :m: :n: : : :q: :r: :s: :t: :u: :v: :w: : :y: Emotion lainnya?

Posting Komentar — or Kembali ke Postingan