Cara menambah animasi di link categories blogger - by s2c3rr

1. Login Blogger.com
2. Di dasbor pilih rancangan/design >> Edit HTML
3. Expand template widget
4. Cari kode </head> dan letakkan kode di bawah ini persis di atasnya.

<script src='http://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js' type='text/javascript'>
</script>
<script type='text/javascript'>
var dur = 400; // Duration Of Animation in Milli Seconds
$(document).ready(function() {
$(&#39;a.linknudge, .Label ul li a&#39;).hover(function() {
$(this).animate({
paddingLeft: &#39;25px&#39;
}, dur);
}, function() {
$(this).animate({
paddingLeft: 0
}, dur);
});
}); // end of Jquery Script</script>
5. Setelah selesai pilih Save template dan lihat hasilnya.

Share this:

Post a Comment

 
Copyright © All About. Designed by OddThemes | Distributed By Gooyaabi Templates