i am havige huge static site with lots lots of links. For example on one page i have like 80 inner links. I want to hide it from Google. I seen some people did it thru click() in jQuery. For example
<script>
$(".linkname").click(function(){
document.location.href = 'inner.html';
});
</script>
And i add class to for example span element .linkname and its linked to proper page and for google its not a linl. So all good. But what happens when i have 100 links on page. That means i must assign each link different class and make new code to link to proper page. Since all links leads to different pages. How can i speed up this proces make it dynamic? I dont want to make 100 new classes and 100 new functions to recognize that link and link it to correct page.
Any help ideas?