I wonder how Google treat this type of link <a href="http://www.domain.com" onclick="blah" target="_blank">bum</a> Code (markup): Will Google read the link in a href? Will this link pass important and PR? I have a question because of Java onclick that embed in the link.
This not the ideal way to link to a document in Javascript, however it still work using document.write <script type="text/javascript"> document.write("<a href=\"http://www.domain.com\" onclick=\"blah\" target=\"_blank\">bum</a>") </script> In that case search engine will crawl the link but they shouldn't pass a link juice.
Did you mean the example I gave or the example you give? Is my example pass link juice or not? Thank you
Thank you I just think the <a href> part should pass link juice but wonder if java onclick may effect on the pass of link juice or not.
You need to include your example inside a Javascript code the way I have done it in order to make a your question clear, links within Javascript don not pass PR as they are heavily used by ads system such as Google Adsense or Adbrite and banner rotation systems, if Google will pass PR juice through them that will cause a lot of confusion. BUT if you refer to click counters or other on click JS tags then they should not affect the page rank flaw
As long as you use an anchor tag (a href=...) without a nofollow attribute it will pass link juice. If you convert it to javascript then it won't pass link juice and google won't follow it. Bottom line the onclick or mouseover in an anchor tag won't harm its link juice.