latest Post

menambahkan lightbox di bloger menggunakan featherlight

berikut cara menambahkan lightbox di blogspot menggunakan featherlight.




Bagaimana cara menambahkan Featherlight ke blogger? 

Step 1 - tambahkan javascript and stylesheet berikut. buka menu "Template >> edit HTML". ctrl+F </head> . tambahkan baris berikut sebelum </head>

<link href='http://cdn.rawgit.com/noelboss/featherlight/1.3.2/release/featherlight.min.css' rel='stylesheet' title='Featherlight Styles' type='text/css'/>
<script src='http://code.jquery.com/jquery-latest.js'/>
<script charset='utf-8' src='http://cdn.rawgit.com/noelboss/featherlight/1.3.2/release/featherlight.min.js' type='text/javascript'/>

<script>
$(document).ready(function() {
  $(&quot;img&quot;).parent().featherlight({targetAttr: &quot;href&quot;});
});
</script>



sumber : http://w3bsmart.blogspot.co.id/2015/08/adding-lightbox-to-blogger.html

About ummi hasya

ummi hasya
Recommended Posts × +

0 comments:

Post a Comment