Prevent screen from moving when clicking on <a href=></a>
You can use event.preventDefault() to avoid this. Something like this:
$('a.yourclass').click(function(e)
{
//your code
e.preventDefault();
});
OR:
<a href="javascript:void(0)" onclick="somefunction(); return false;">link</a>
in the link enter:
<a href="javascript:void();">Link here</a>