Link nudging effect have attracted huge number of bloggers and visitors in a short span. This Link Nudging effect can create your links and images moving from left to right when you hover your mouse over them. This effect makes your links more attractive. Here i provide you a code which provide nudging effect on all links. It makes your blog links to look more attractive.
Live Demo
Link Nudging Demo
How To Add jQuery Link Hover/Nudging Effect On Labels and Links to blogger
- Go to Blogger Dashboard
- Click on DropDown Menu and select Template
- Backup your Template before making any changes to your blog
- Now Click on Edit HTML --> Proceed --> Expand Widget Templates
- Press Ctrl + F and search the code shown below
</head>
- Now Paste the Code shown below just before/above it
<script src='http://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js' type='text/javascript'>
</script>
<script type='text/javascript'>
var dur=400;$(document).ready(function(){$('a.linknudge, .Label ul li a').hover(function(){$(this).animate({paddingLeft:'25px'},dur)},function(){$(this).animate({paddingLeft:0},dur)})});
</script>
</script>
<script type='text/javascript'>
var dur=400;$(document).ready(function(){$('a.linknudge, .Label ul li a').hover(function(){$(this).animate({paddingLeft:'25px'},dur)},function(){$(this).animate({paddingLeft:0},dur)})});
</script>
- Now save your template
- If your template already contain <script src='http://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js' type='text/javascript'></script> then there is no need to add this script
No Comments
Click to Add a New Comment