Quote:
|
Originally Posted by OldWelshGuy
it is better to say that if links use 'href=' , then they can be spidered and carry link juice.
|
This is not always 100% true. If a link starts to looks like this at the beginning:
<a href="javascript...
Then it most likely won't get indexed.
That's why I always tell people to never use JavaScript for linking unless it is outside of the href in the <a> link tag. Using JavaScript events outside the href is much better than using JavaScript inside the href. Like this example.
<a href="http://site.com" onclick="dothis"></a>
Although a lot of time when using Ajax the links might be set up to pages that don't really need to be indexed. Mainly because those pages are used inside of other pages.
Basically to sum up... if you roll over a link and it starts with "http://" your good to go... If it starts with, "javascript
:" It will most likely certainly not be indexed.