jquery go to link code example
Example 1: go to anchor jquery
$('html,body').animate({ scrollTop: $("#anchor").offset().top }, 'slow');
Example 2: go to page jquery
<!DOCTYPE html>
<html>
<head>
<script>
function goToURL() {
location.href = 'http://google.it';
}
</script>
</head>
<body>
<a href="javascript:void(0)" onclick="goToURL(); return false;">Go To URL</a>
</body>
</html>