homepage Welcome to WebmasterWorld Guest from 107.20.34.144
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

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

WebmasterWorld Senior Member nick_w us a WebmasterWorld Top Contributor of All Time 10+ Year Member



 
Msg#: 171 posted 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

10+ Year Member



 
Msg#: 171 posted 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

WebmasterWorld Senior Member nick_w us a WebmasterWorld Top Contributor of All Time 10+ Year Member



 
Msg#: 171 posted 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

WebmasterWorld Senior Member chiyo us a WebmasterWorld Top Contributor of All Time 10+ Year Member



 
Msg#: 171 posted 7:19 am on Aug 2, 2002 (gmt 0)

yes

crash

10+ Year Member



 
Msg#: 171 posted 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

WebmasterWorld Administrator ergophobe us a WebmasterWorld Top Contributor of All Time 10+ Year Member



 
Msg#: 171 posted 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

WebmasterWorld Senior Member tedster us a WebmasterWorld Top Contributor of All Time 10+ Year Member



 
Msg#: 171 posted 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.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved