CSS3 lightbox gallery with JQuery – Sebelum nya saya pernah memposting Membuat gallery gambar efek Pop Up image dengan CSS Hari ini saya akan membahas tentang CSS3 lightbox gallery with JQuery
Agar lebih jelasnya, berikut adalah tutorial tentang cara CSS3 lightbox gallery with JQuery kedalam posting blog:
Agar lebih jelasnya, berikut adalah tutorial tentang cara CSS3 lightbox gallery with JQuery kedalam posting blog:
Simak langkah2 dibawah ini:
1. Login ke akun blogger sobat2. Klik Template » Edit HTML
3. Kemudian tekan Ctrl+F cari kode
]]></b:skin>
atau </style>
4. Lalu tambahkan script
CSS
berikut ini tepat diatas kode ]]></b:skin>
atau </style>
body {
background:#eee;
margin:0;
padding:0;
}
.example {
position:relative;
background-color:#fff;
width:700px;
overflow:hidden;
border:1px #000 solid;
margin:20px auto;
padding:20px;
border-radius:3px;
-moz-border-radius:3px;
-webkit-border-radius:3px;
}
#gallery {
height:600px;
position:relative;
width:100%;
}
#gallery div,#gallery div a {
height:128px;
overflow:hidden;
width:192px;
}
#gallery div {
background-color:#fff;
background-position:50% 50%;
background-repeat:no-repeat;
border:2px solid #000;
left:250px;
padding:5px;
position:absolute;
top:200px;
border-radius:3px;
-moz-border-radius:3px;
-webkit-border-radius:3px;
-moz-box-shadow:3px 3px 4px #444;
-webkit-box-shadow:3px 3px 4px #444;
box-shadow:3px 3px 4px #444;
}
#gallery div a {
display:block;
text-indent:-1000px;
}
div#fancy_overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
display: none;
z-index: 30;
}
div#fancy_loading {
position: absolute;
height: 40px;
width: 40px;
cursor: pointer;
display: none;
overflow: hidden;
background: transparent;
z-index: 100;
}
div#fancy_loading div {
position: absolute;
top: 0;
left: 0;
width: 40px;
height: 480px;
background: transparent url('https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgj8DrKFLPT2cA-MZ4jMtNQuCxGgQPeJrajJY81Chlx3YdUs4_mM0QnhJBq-t0m5d-uFCqrCCdXPOawlLChpI7Dq6zl5vcZTgK83LmUso5b_PmtFR0PXgJSlU_8ARt9KxNNYUqJDu_5gi-U/s1600/fancy_progress.png') no-repeat;
}
div#fancy_outer {
position: absolute;
top: 0;
left: 0;
z-index: 90;
padding: 20px 20px 40px 20px;
margin: 0;
background: transparent;
display: none;
}
div#fancy_inner {
position: relative;
width:100%;
height:100%;
background: #FFF;
}
div#fancy_content {
margin: 0;
z-index: 100;
position: absolute;
}
div#fancy_div {
background: #000;
color: #FFF;
height: 100%;
width: 100%;
z-index: 100;
}
img#fancy_img {
position: absolute;
top: 0;
left: 0;
border:0;
padding: 0;
margin: 0;
z-index: 100;
width: 100%;
height: 100%;
}
div#fancy_close {
position: absolute;
top: -12px;
right: -15px;
height: 30px;
width: 30px;
background: url('https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhJgThksDYa1oP8dpysrh_56dvig5NCl0VrZgDlGoLLO1Ci2aRnUh3f5HEgSyuQdDtQ4R9SdGh2y9aOG-ECQSA6XB_qpb1pLpNZIURp8fQqAYhn3hlcy4zwLE65aEGhnW3n-7AI1u4h5w8h/s1600/fancy_closebox.png') top left no-repeat;
cursor: pointer;
z-index: 181;
display: none;
}
#fancy_frame {
position: relative;
width: 100%;
height: 100%;
display: none;
}
#fancy_ajax {
width: 100%;
height: 100%;
overflow: auto;
}
a#fancy_left, a#fancy_right {
position: absolute;
bottom: 0px;
height: 100%;
width: 35%;
cursor: pointer;
z-index: 111;
display: none;
background-image: url("data:image/gif;base64,AAAA");
outline: none;
overflow: hidden;
}
a#fancy_left {
left: 0px;
}
a#fancy_right {
right: 0px;
}
span.fancy_ico {
position: absolute;
top: 50%;
margin-top: -15px;
width: 30px;
height: 30px;
z-index: 112;
cursor: pointer;
display: block;
}
span#fancy_left_ico {
left: -9999px;
background: transparent url('https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgQeoynpMGQyMlNJPfzP5lbCK14u9Dgva5fNzuc2oNd_KGZIFr8Kf1_JbYM29XricpZmHOZ8f0w3BpbAH7bC6gXVjLrAxmi41GuO158vYZoxSy7tYCjuCMUVTmhi2Yx8L-K4lOsHg0loeHf/s1600/fancy_left.png') no-repeat;
}
span#fancy_right_ico {
right: -9999px;
background: transparent url('https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgRKYfP40WzF3WpTKYMX7wixdj-tt9ylX5rFiG6rH-oT7tWPUkXBbJlAL_kEep8Vyz0xoUeJ22geIuVQP0IFOUX7gPbyHuATvv5t_e5Rjgl-REXuFt1ytNuQl-1ooRnZxCDDW7OtLC76gWv/s1600/fancy_right.png') no-repeat;
}
a#fancy_left:hover, a#fancy_right:hover {
visibility: visible;
background-color: transparent;
}
a#fancy_left:hover span {
left: 20px;
}
a#fancy_right:hover span {
right: 20px;
}
#fancy_bigIframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: transparent;
}
div#fancy_bg {
position: absolute;
top: 0; left: 0;
width: 100%;
height: 100%;
z-index: 70;
border: 0;
padding: 0;
margin: 0;
}
div.fancy_bg {
position: absolute;
display: block;
z-index: 70;
border: 0;
padding: 0;
margin: 0;
}
div#fancy_bg_n {
top: -20px;
left: 0;
width: 100%;
height: 20px;
background: transparent url('https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgteJSWqgKSTeligQSiiC-et1yifLYzO_YGsROW1642DtwRDs1Wpe-63a6q8GoyR9eA15UPgz62osUUVa1Zhg2RBxruXc0oFi5GQm8OZflCurrzv6ntfD9cllfDk7tOClEde7ClQsD_87Gr/s1600/fancy_shadow_n.png') repeat-x;
}
div#fancy_bg_ne {
top: -20px;
right: -20px;
width: 20px;
height: 20px;
background: transparent url('https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg_lG9usrpPiTwvo7NTzp5vD9YglD7iok3Eq1tho79gq5swNkS3TW_7Z1gMSMyTx0dWBwUbiZwrTqLhW7Mf5xptzvhWRb2A7wqNk4XBx6_5IrQJRMdjP4Zv3j-ASYMRbWh5T9Wd-gLsNqfm/s1600/fancy_shadow_ne.png') no-repeat;
}
div#fancy_bg_e {
right: -20px;
height: 100%;
width: 20px;
background: transparent url('https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhdjTmTXhZiIIphAvO5YY_sUZjVYXDUmXthymy7p39F1JeJGo2pXzZtlkaGh5-DFJEeuhvEwGR79KVCAYYezkTVXvmIvUDkZnklFJHnN0seYf_qVh9G7XwP9IX_2gF_srSMuMh94wwkd4z2/s1600/fancy_shadow_s.png') repeat-y;
}
div#fancy_bg_se {
bottom: -20px;
right: -20px;
width: 20px;
height: 20px;
background: transparent url('https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhmIhNMxM0m0Hq-6OewL8E_dBAV_NQIdMgCi6MvIFZK-qqMF1pn4iFFKIIYIRAD_5kDYSEDyjNrnsk1Zr4-6HCKMrN9iu02-zu7gC2iLR9hAgtp1nJVSDG6zssmUP_vbbcnhYTu1MrbW8r_/s1600/fancy_shadow_se.png') no-repeat;
}
div#fancy_bg_s {
bottom: -20px;
left: 0;
width: 100%;
height: 20px;
background: transparent url('https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhdjTmTXhZiIIphAvO5YY_sUZjVYXDUmXthymy7p39F1JeJGo2pXzZtlkaGh5-DFJEeuhvEwGR79KVCAYYezkTVXvmIvUDkZnklFJHnN0seYf_qVh9G7XwP9IX_2gF_srSMuMh94wwkd4z2/s1600/fancy_shadow_s.png') repeat-x;
}
div#fancy_bg_sw {
bottom: -20px;
left: -20px;
width: 20px;
height: 20px;
background: transparent url('https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi2wgySDykCT-OwNy3XTVhoWXzRIw84nT8OSWF20qX_ap3rfBj2U_BrgUrvGmuTWw6oKoU4sRQPTQUgMdFbvJlUK4cwl3WuMUIBNqMTAj53msEzfaDTZmevRU6PePSuTercsm_7Us6Gvc8u/s1600/fancy_shadow_sw.png') no-repeat;
}
div#fancy_bg_w {
left: -20px;
height: 100%;
width: 20px;
background: transparent url('https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgpaSwYXppzEFB7q2KyvNuqjUAg_mRMZ0iemgNr21Lxem0cHnnDW659rFOh_tmBVYFytHCwhTOxBVeJMy2ifQZBCLvqjpUHAnn41BeOVXb9gOgo-dyGhZ3weHF6pibIm-dT4CGB3wqwJ_yJ/s1600/fancy_shadow_w.png') repeat-y;
}
div#fancy_bg_nw {
top: -20px;
left: -20px;
width: 20px;
height: 20px;
background: transparent url('https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEixLWPvtdQXf8fnQdO79zQf232lVG6dFIVIx6UpNV4WdZ3b4NRy56PaVD_ebk89pkQwZU2pUVZbUCXbymfmXspdCbkih7VLJCLN97lZxBav7Gor8oCA5qCP-8V90NxKi6tQpSA_VpgtlqIZ/s1600/fancy_shadow_nw.png') no-repeat;
}
div#fancy_title {
position: absolute;
z-index: 100;
display: none;
}
div#fancy_title div {
color: #FFF;
font: bold 12px Arial;
padding-bottom: 3px;
white-space: nowrap;
}
div#fancy_title table {
margin: 0 auto;
}
div#fancy_title table td {
padding: 0;
vertical-align: middle;
}
td#fancy_title_left {
height: 32px;
width: 15px;
background: transparent url('https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhioeeeXnqad_tHUz-bJBI6H1dqHUHXsiDzNVwD7TTPcrb12jaXeMOt3h11ViPHItz3Ig1luxVrFRD0DmzgIxY6nU48eJ0nvO5yzHYmt7fb4woxuec86HSTeyGOWiZ5dStoguUHa67P2QOO/s1600/fancy_title_left.png') repeat-x;
}
td#fancy_title_main {
height: 32px;
background: transparent url('https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjCn_LNr9M-N7YVfUi9PsN8dapdofSodZJlwXdxbtZ37R4_NEhDaj4IZuITyZr24sTl5Kuj3p7mda5c6nVVjftH0Va-BsoK-aoedi8JuZ3UdKqNkfqDBOGAILDxF3Oce9mDA69P0Pb6Bi6X/s1600/fancy_title_main.png') repeat-x;
}
td#fancy_title_right {
height: 32px;
width: 15px;
background: transparent url('https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiq737iYwwXLjk6xSIe92BwJoRuCbGqr9EUXWBTNo2f75yHaO7BzjhIHWmjmGzd5f042PUtAfb4MjQjPr5LKdjJP9mboU4Upj7h7_tBOx4TkWf9CRVz7cWSGKg2VyELpz3v-volm6h2ITPs/s1600/fancy_title_right.png') repeat-x;
}
5. Tekan Ctrl+F cari kode
</head>
Lalu masukan script di bawah ini tepat di atas kode </head>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
<script type="text/javascript" src="https://sites.google.com/site/vanzdy/script/jquery-css-transform.js"></script>
<script type="text/javascript" src="https://sites.google.com/site/vanzdy/script/jquery-animate-css-rotate-scale.js"></script>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/jquery-ui.min.js"></script>
<script type="text/javascript" src="https://sites.google.com/site/vanzdy/script/jquery.fancybox-1.2.6.pack.js"></script>
<script>
$(document).ready(function(){ // on document ready
// onload - randomizing photos
$('#gallery div').each(function() {
var iRL = Math.floor(Math.random() * 500);
var iRT = Math.floor(Math.random() * 350);
var iMT = Math.floor(Math.random() * 100 - 50);
$(this).animate({
left: iRL,
top: iRT,
rotate: iMT + 'deg',
}, 2000);
});
var bPrevClick = false; // preventing clicking will solve problem with fancybox
$('#gallery div').draggable({ // making photos draggable
containment: 'parent',
start: function(e,ui) {
bPrevClick = true;
},
stop: function(e, ui) {
setTimeout(function() {
bPrevClick = false;
}, 50);
}
});
$('#gallery div a').bind('click',function(e) {
if (bPrevClick) {
e.preventDefault();
e.stopImmediatePropagation();
}
});
$('#gallery div').mousedown(function(e) { // on mouse down
var iMZ = 0;
$('#gallery div').each(function() { // searching for max zIndex
var z = parseInt($(this).css('zIndex'))
iMZ = (z > iMZ) ? z : iMZ;
});
$(e.target).closest('#gallery div').css({ // we will UP actice image
zIndex: iMZ + 1
});
});
$('a.fancybox').fancybox({ // fancybox initizlization
zoomSpeedIn: 500, // zoom IN speed
zoomSpeedOut: 500, // zoom OUT speed
overlayShow: false // using overlay
});
});</script>
Note:
Jika script yang saya block warna kuning tersebut sudah terpasang di template sobat, sobat tidak perlu memasang nya kembali cukup copy script yang belum terpasang saja.
6. Simpan Template.Jika script yang saya block warna kuning tersebut sudah terpasang di template sobat, sobat tidak perlu memasang nya kembali cukup copy script yang belum terpasang saja.
Penerapannya:
Supaya kode di atas muncul di posting blog sobat » Silahkan buat Entri baru gunakan mode HTML kemudian masukan kode berikut ini kedalam halaman posting blog sobat.<div id="gallery">
<div id="1" style="background-image:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjl2GddXlUqZ7n4a69UvT8PErckVpHWkVSrRfuZpwH4HtFKjZLviCpjpl6T0dTtikc_-BO3j1OrHyNh9CBqptFaU4CHGJcz-1FCwYepPaO3CQLa1e9VI9oNMv37gpplzVsK40-WiWIHR1yi/s1600/Thumb_Earth+Digital.jpg)">
<a class="fancybox" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjb5RPifjIyssSTAZ7v_QOGHC3KCfh4Wp9bvb7zEIkTpo76esa8l8hQEgXf8dLMY5AzG817vmHEhVxwmuuANZh1Ws8brxAshVqnMBFAIHQAOwBfNo63ogL1TBe5Iw5u6lmOOE9UN4tdlvO6/s1600/Earth+Digital.jpg" target="_blank">photo 1</a>
</div>
<div id="2" style="background-image:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiLdVypEwUdn0QEoWwc-X1bUiif1omUHRIh4famNQGUizEl4YfpJWxlKqXPEw6BSfocX9vmWkubqsbH9n9AvOU0u_vg268n74MjgYkjAAoaGYlJdxGNBF4lUN8Nup6YPXUCJwfuxNqWjLcD/s1600/Thumb_Earth+Digital2.jpg)">
<a class="fancybox" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjUuroNeBznCZMO9E3Eevvz-CNn7FoQHLd5nlKOuz0xmSN83Q0qq-mSsjdmwW7pjJ6Af6JzrUlSFMlTkhLG_xVN4AiZWuStlMftf85stK0g2l3thjc-mzaIvvjXx4BfbQS_Dl2AF7s0rfNc/s1600/Earth+Digital2.jpg" target="_blank">photo 2</a>
</div>
<div id="3" style="background-image:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhkuEKzh-EMZ62xTSxqYM4n5NwpaWrmlp9_C-ztDNpnEc9aXpYOEjE_R48T2RUPF0hsG5Cp4FFyDlCbrtFfnu24YW2AH3JP7req6t2e_G7wh7argpokWy2WoutW7jVsI7WoMmm9fShSpXBP/s1600/Thumb_Earth+Digital3.jpg)">
<a class="fancybox" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEitq6JSwdGajk4cb1fx-n6a_qW_HLP2PtTpyNQ-Bl-wWn0melgDCD9ZLV6ELM2uEBjAmdew4F4dwvW2wwX72s89YAAERjiQ-uTU5OZ875s8hQpJwuOW_Tk8G-Nb2hN1RrFc4yKNbRefrQwD/s1600/Earth+Digital3.jpg" target="_blank">photo 3</a>
</div>
<div id="4" style="background-image:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjBe3_Co2GqJ-1phIwXpBfHucg3mKVZt0__9Wdq74sKereNbP3MBlosncwgWt1K8Yuj8ty3E3MOtz34N7-VLGy-aDg9r-IX9HKzWmNOOh05AlYY_v8kSc5oRlHUAhHauasZ4Kf3Px3F4UKd/s1600/Thumb_Earth+Digital4.jpg)">
<a class="fancybox" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiuLyKx7BRoP1cjsXKGAP6mAB68cQSk9AmeIA182tHKP3sTz_7H6VedSYN7O_43XnnqWgiYjIlQ2FjEw5-EYi65zoUGH4OULIORMMYxs8Dl8ue8oRlbefoTjtQR35guarBeR0DTmVObrewN/s1600/Earth+Digital4.jpg" target="_blank">photo 4</a>
</div>
<div id="5" style="background-image:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhgqraask0woinHoFwrPbgV_g9-K4HDGv3zef5kAm0ML4ZN2KKG2dnT23HR3mRF4dQjxZpBUuZfcUwAcp-epE_S3axmofNFit2edSLVKiPXOrKMFtJD1gk6o3ZhRhm3deNu3UV5u7lhh8jq/s1600/Thumb_Earth+Digital5.jpg)">
<a class="fancybox" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjvCbqXUMB-La2D9lQznOJVrdUQnU4v58601tTFY729x0piQW_RSMtiBzILMoFYb_oxQjRf11_-TZ8AZrHau9gZMUV8z8exKb7drsod_J1X6z-ihRD170_FObILMHTaKItDOewJqrmnaYCR/s1600/Earth+Digital5.jpg" target="_blank">photo 5</a>
</div>
<div id="6" style="background-image:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgvpARAcw5QraQL9u0VtDKCxy-iOsiwwKb8qrT3qTqJ2ic0B4qUlCR5PS2J-NkYefATmU908ZNti1yl4Pnl59Fn0eQJB7VPfKBK2UVWDx5lt_Wqsqinqg7_n7_Q1TdBB4Y-DXwGTGxkNj58/s1600/Thumb_Earth+Digital6.jpg)">
<a class="fancybox" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgXjm9N2iAqnL5zmVFfKKvUpZb-MwdHQ2sbAilWSX05kryetsYKnUBmW66MBvldJly_fPmGVItNQ00y8Aum5_19GtT5nrgw6Ee8ULHJLzl_JPuWO9W4JXPanOPKJ0Z-SsJk_y0S67F1b4Z7/s1600/Earth+Digital6.jpg" target="_blank">photo 6</a>
</div>
<div id="7" style="background-image:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjjI2Eg8yHxJ99BLrvLF-2GAGUcGJTiiBWmQhXpnKzIg8HjbWISTOR1w984tCq87HB6DTFIwAn7R3vEat_KDp6e9Pae4QLtwsiaNexplJ0nLg9zh3n86zZUhBnCrt1dgfkaBCbW7z6f9nRV/s1600/Thumb_Earth+Digital7.jpg)">
<a class="fancybox" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgtjjvfQibXzLS0WqBt_OIz4ChuBEQHSfD_3LF6_vMfSJ4FxCKHc6VzX6vOzHqW6IUvtVJ1om75xJxtJJBzVF5iDgDuh5zWRrkbS-HBqfG6Cqe9xppJPR8-Wfd9D1tVHIghoyiwWtESsI4u/s1600/Earth+Digital7.jpg" target="_blank">photo 7</a>
</div>
<div id="8" style="background-image:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiYEmQ8tmsCdnDpQhOOpRSBmqpm5q1-YzOvDACq3fXtOBwpQFzTAes1lLIGz0i80OH40beoOKqbnp01dUn2xC0e2WfskYGUidm9Bverc3EczkR-dne-HskZnRhgWQqaffgw3H06g3xKXjz4/s1600/Thumb_Earth+Digital8.jpg)">
<a class="fancybox" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj2Ntrzv7oNKOLb81-gtMVZ-n1rUsQvlO2JM8vFXrodPFOEtXWqnd2hyphenhyphenENnf9qKPxhHX91Xp71bBESW0KsM4SxuXRZDtiTW-1HCpY5CcR6uLF5DuwWM5C-0PEdkgUdMgjNL281b7Wnx8tjG/s1600/Earth+Digital8.jpg" target="_blank">photo 8</a>
</div>
<div id="9" style="background-image:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiYBPheD_VTgrnASFhvf5MjJ2JkiP_40UPFlQ8nV61Sj_-xyOJGD2IZtUPPkb36bJZXpIthCt09DRXLvC6ciEs_FgQf9mGl6a7mgVX5S7DZ7UXgkTEw4wjGVmcMGGnMmNt60B201Izc3XBq/s1600/Thumb_Earth+Digital9.jpg)">
<a class="fancybox" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgANU3El2r-pGKtty5e01Zbcm6nGfHQej39OHYWwtvw7FecJhfHCx5tiNx04PhrDjrmO9J1dQk_I53x28qIiur1I4OsX_l83YIalWT5EylswiFUqzo15Jl3I9REwUaO2YqwZlIsBs7C4izB/s1600/Earth+Digital9.jpg" target="_blank">photo 9</a>
</div>
<div id="10" style="background-image:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhhkr_NO62GdjCHuP3wiZSlnH_5z94Oug5Yt7eZVTtPzQxJda95TP6KvuiFBCeqE1yPxMPBUDqffXcqovau-kkSqQeekDcfoUJqZygC6cWPYnkkdHlb_NXHdy0AJb2NbAkgZl2eKIeLvalM/s1600/Thumb_Earth+Digital10.jpg)">
<a class="fancybox" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg6yme5wIsyBCvEFGL20poGk5Zz6JUj3OXiwSDFhFU5-I9s-mGoIcpEQHCOCPNyO9YKKPNjeDTB6y-hUSertaClO9n7DiP9flXWsSFH7KDSxkpT7nI7voOzPkOy-gwosZXvQBGmkBy6jtRH/s1600/Earth+Digital10.jpg" target="_blank">photo 10</a>
</div>
<div id="11" style="background-image:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEigkH7GASb11iR5f2in200XAKjOBqNC9Zlp8gHrsVSXvomaLYfHBcMji02AZfdVB1kHNrjJdmegBYHs9GTHk0Q5ujyML-vxeNsY4P29g5PUicauKHRHVn-KIsoWwlmtBDFzZ9NiQ3EDQExT/s1600/Thumb_Earth+Digital11.jpg)">
<a class="fancybox" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiNJ8x5PLDqtFRTBBsgq7UweCVkYGBErQ-Gpr1WLdMEsZ37Z5lL-VDuzbxlPizlqCAo_MIEKOOQD9rdt7om0L77zTVajjcRV9k_2uXcKD69PpPz_65E0Ug2grJVNq4mTQ0zayGc1Ki4VriC/s1600/Earth+Digital11.jpg" target="_blank">photo 11</a>
</div>
<div id="12" style="background-image:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiCJVf_xVWxvAimI1zqgwtHnuAJ-0Evx0uHhvDDLpnkwmOYG0x8jiUKSq8yNrPVyqILyd2n9pJ57kuKCzY6EVo87gq9qcP14iu2vvPZpjiAbnBBcXpk7ld25a3lduKfF5mSU2w8Bj1tRJ_7/s1600/Thumb_Earth+Digital12.jpg)">
<a class="fancybox" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg9lHLnKWIAvV02hrklESQLWBi733UCLmgUhFH0gjZ3ZxKoPpHXts3qnELTXPK2cD3xkUMgqswLDwa6DkMJ6iWcMhadmOpeyNc1IOsdUfCdjrsBurxq8c_Zeoe9kbsGOlFXwaG6al0U98aG/s1600/Earth+Digital12.jpg" target="_blank">photo 12</a>
</div>
<div id="12" style="background-image:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiL9f_8tP4B4dWUVzLgl0Ps2f7r1gt8HFOYLIvW966Ov2pwOTu2Rerw9x_i_1Ui5TJDQJkU96QrmfH_ebSzc0I4XuiLKOJI0IBfsm8yIx7xrgdwuBLJNPj70qa7UTSejHUgHGQe7M4ev6rd/s1600/Thumb_Earth+Digital13.jpg)">
<a class="fancybox" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjzhp1SvowKx_utV4XX265v9fDgX6NHwldVofKrjh-Pq9yU5Il1lTxbE5l4zWQ_gQN2UXG07VG_ofG3wSdckpbY114mWNLkKl8WI1wplx5RSYyRF2uEzOrB4i7VSv89FXBIhIGyljDbJJ_G/s1600/Earth+Digital13.jpg" target="_blank">photo 13</a>
</div>
</div>
</div>
Keterangan:
Sobat bisa ganti URL gambar dengan gambar lain yang sobat inginkan atau gambar kesukaan sobat.
Sobat bisa ganti URL gambar dengan gambar lain yang sobat inginkan atau gambar kesukaan sobat.