homepage Welcome to WebmasterWorld Guest from 67.202.56.112
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor
Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
Forum Library, Charter, Moderator: open

JavaScript and AJAX Forum

    
Does this link count?
Is this considered a JS link?
Nick_W




msg:1494081
 6:48 am on Aug 2, 2002 (gmt 0)

Hi al

<a target="_blank" href="http://www.site.com/">a link here</a>

Is that non-readable by SE's cos of the target attribute?

Nick

 

crash




msg:1494082
 6:59 am on Aug 2, 2002 (gmt 0)

it's just a confused html link :)

normally reads:

<a href="http://www.site.com/" target="_blank">a link here</a>

the 'target="_blank"' portion is telling the browser to open the link in a new window.

Nick_W




msg:1494083
 7:01 am on Aug 2, 2002 (gmt 0)

Yes I know.

The question is -- does it count for SE's, will they follow it?

Nick

chiyo




msg:1494084
 7:19 am on Aug 2, 2002 (gmt 0)

yes

crash




msg:1494085
 7:37 am on Aug 2, 2002 (gmt 0)

um, sorry i wasn't clearer.. the subject asks if it's a JS link - no it's not javascript - it's html - se's read html just fine.

ergophobe




msg:1494086
 7:20 pm on Aug 2, 2002 (gmt 0)

I assume that you don't care about strict validation, but it also won't validate to some DTDs (definitely not to XHTML 1.0 strict; not sure about HTML 4.01). It will validate with all Transitional DTDs as far as I know.

Of course, the Javascript links will validate, but the SE will not follow them. Sort of a nasty quandry.

Tom

tedster




msg:1494087
 11:09 pm on Aug 2, 2002 (gmt 0)

If you want search engines to follow a javascript link, you can code it like this:

<a href="whatever.html" onClick="linkto('whatever.html');return false;">Text</a>

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About
© Webmaster World 1996-2014 all rights reserved