Hello My (commercial) website has a pagerank of 7. I am doing a friend of mine a favour by linking to him (non-commercial site) on my frontpage so his traffic will increase.
Because I don't want to get penalized by his pagerank so I decided to use the following javascript link. As far as I know this will not be followed by the robots.
<a href="javascript:void(0)" onclick="window.open('http://www.widget.com')">Widgets</a>
But for some reason the javascript:void(0) part is not working. I always thougth this would return a value of 0 and the link won't work, but the onclick will open the target website in a new window.
But instead the javascript:void(0) returns a 404 error.
I've checked this in tutorials and they do it the same way and it does work. Widgets.com is opened in a new window.
Am I missing something?