html+js links come - advanced seo question
- SEO |
the following questions regards a <a href> + javascript on click combined in a link.
look at the following code:
<a href="domain.com" onclick="javascript:window.open('domain.com/affiliate-link.html');return false;"><img src="image.jpg" alt="image alt" border=0></a>
elements we have:
1. A href link - to domain.com
2. onclick JS event who links to domain.com/affiliate-link.html
3. img src , inside the A HREF, with an alt tag.
my question for you guys are:
1. which link will be counted to site domain.con - will it be the A HREF or the Javascript one? (the a href is a clean hardlink, the JS is a long affiliation link).
2. can the alt tag be counted as an anchor text for this link?
3. can this be called a "sneaky javascript redirect" ? can this be picked up by SE as cloaking?
sorry to say, but i have not live example to show you guys, but based on your understanding, what do you think happens here?
thanks
Free WordPress Themes: Boring Memo | Dateless Mini-Site | Info Magazine | 100 Twenty-Ten Niche Headers
Discount Templates, Graphics and Scripts: Templates for Website