View Single Post
  #7 (permalink)  
Old 05-26-2008, 09:56 PM
Gorkfu's Avatar
Gorkfu Gorkfu is offline
Senior Member
223 posts this year. worth their weight in gold!
Trusted Member - And full of good stuff!
Last months UKWW Tokens: 9
 
Join Date: May 2008
Location: USA
Posts: 168
Thanks: 0
Thanked 1 Time in 1 Post
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
Default

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.
Reply With Quote