Маша_92,
<!DOCTYPE html>
<html>
<head>
<title>Untitled</title>
<meta charset="utf-8">
<style type="text/css">
</style>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
<script>
$(function() {
$('.view').on('click',function(event)
{ event.preventDefault();
var num = $(this).data('value');
$('.check').prop('checked',false).slice(0, num).prop('checked',true);
});
});
</script>
</head>
<body>
<a href="#" class="view" data-value="1">1 ссылка</a>
<a href="#" class="view" data-value="4">2 ссылка</a>
<a href="#" class="view" data-value="8">3 ссылка</a>
<input type="checkbox" class="check">
<input type="checkbox" class="check">
<input type="checkbox" class="check">
<input type="checkbox" class="check">
<input type="checkbox" class="check">
<input type="checkbox" class="check">
<input type="checkbox" class="check">
<input type="checkbox" class="check">
</body>
</html>