With the addition of jquery, if you put the cursor on one of the social bookmark icon, he will come out slowly, Solo softer like a princess coming out of the palace, it was due to the effect of easing the existing on-ui.min jquery. In addition to easing the effects that I add the widget, as well as the type of social media that I put a lot more. For this time I added a widget social media Pinterest and Youtube to make it more complete. Here are the steps of manufacture:
- Log in to Blogger
- Go to Template >> Edit HTML (check expand widget templates)
- Put the CSS code below, above ]]> </ b: skin>:
- Next adding jquery and javascript, still in Edit HTML put the following code before the </ head>:
<script src='http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js' type='text/javascript'/>
For jquery library blue above, if the template you are using is installed, only abandoned.
<script src='http://ajax.googleapis.com/ajax/libs/jqueryui/1.9.2/jquery-ui.min.js' type='text/javascript'/>
<script>
$(window).load(function(){
$('.social-buttons .social-icon').mouseenter(function(){
$(this).stop();
$(this).animate({width:'160'}, 500, 'easeOutBounce',function(){});
});
$('.social-buttons .social-icon').mouseleave(function(){
$(this).stop();
$(this).animate({width:'43'}, 500, 'easeOutBounce',function(){});
});
});
</script> - Further calling widget, place the HTML code below before </ body>:
- Finally, Save Templates