Cara membuat Widget Sticky with jQuery di Blogspot

Cara membuat Widget Sticky with jQuery

Kode Script Sticky jQuery

Cara membuat Widget Sticky with jQuery di Blogspot

Silahkan copy paste kode script widget sticky ke dalam tema blogspot, diatas kode </body>.


  <script src='http://resources.infolinks.com/js/infolinks_main.js'
  type='text/javascript'/>
<script src='http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js?ver=1.3.2' type='text/javascript'/>
<script type='text/javascript'>
$(function() {
var offset = $(&quot;#HTML7&quot;).offset();
var topPadding = 35;
$(window).scroll(function() {
if ($(window).scrollTop() &gt; offset.top) {
$(&quot;#HTML7&quot;).stop().animate({
marginTop: $(window).scrollTop() - offset.top + topPadding
});
} else {
$(&quot;#HTML7&quot;).stop().animate({
marginTop: 0
});
};
});
});
</script>

Tahapan-tahapan memasang kode sticky

  • Cari widget ID yang mau di sticky (ex. HTML7)
  • Masuk Dashboard > Template > Edit HTML 
  • Tekan(CTRL + F)  cari kode:  </body>

Catatan :

Ganti widget ID dengan widget ID yang mau di sticky.

Cara membuat Widget Sticky with jQuery di Blogspot
Cara membuat Widget Sticky with jQuery di Blogspot

Harga : *Belum termasuk Ongkos kirim
Pesan via whatsapp Pesan via Email
Next Post Previous Post

Spesial Promo

5 % off

Paket Pasang Parabola Mini dan Jaring.

Dapatkan Sekarang
avatar
Admin Salaam, if you have anything to ask please via our WhatsApp
Admin Hi there! Hello, Can I help you?
:
Chat WhatsApp