I remember seeing it somewhere, but forgot the tag. I goes in the <a href tag somewhere and is nofollow="nofollow"? Hope you can help
The rel="nofollow" means "I don't vote for this link" but it won't prevent the crawling/addition of the page. The best way to hide a page from Google is to call it as a form. Basically you make a form around the link and the link is a button which you make look like a link with css.
you could also use the robots.txt file to prohibit crawling. Here is an article on the use of it http://www.directory-submission.net/do-i-need-a-robots.txt-file.htm
I should of mentioned about the robots.txt thing. All my links are dynamic and there's about 2k of them, so robots isn't the way to go...looking for a tag to include in the href link part..
My problem with JavaScript links is that too many spammers use them. I don't want to attract attention The disallowed in robots.txt links are not crawled, but the link and the anchor text may get in the index and participate in rankings (though Google won't show a snippet). I think there's another disadvantage and that is that Google may treat those links as dangling and that may drain PageRank (which in term means you actually vote with your PR power, but it goes to waste and does not go to the final URL, as some websites/directories do)
you could use the robots meta-tag on the target page <meta name="robots" content="noindex, noarchive"> Code (markup):
You could combine it with rel=nofollow. That way there's no PR passed and the page doesn't get spidered