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

JavaScript and AJAX Forum

    
Links and javascript
juventus




msg:1481928
 10:00 am on Nov 29, 2000 (gmt 0)

Hello,

Excuse me for bad my english, I am French

I work on a site with links that are associated with javascript code (see the code below)

I would like to know if this type of link can be spidered by search engines.

Thanks in advance for your help

<a href="Brooklyn.htm" target="Corps" onClick="MM_nbGroup('down','group1','Brooklin','/z/maclorne/images/Brooklin_c.gif',1)" onMouseOver="MM_nbGroup('over','Brooklin',' /z/maclorne/images/Brooklin_c.gif','/z/maclorne/images/Brooklin_c.gif',1)" onMouseOut="MM_nbGroup('out')"><img src="/z/maclorne/images/Brooklin_nc.gif" width="90" height="60" name="Brooklin" border="0" onLoad=""></a>

 

kcbuckshot




msg:1481929
 5:46 pm on Nov 29, 2000 (gmt 0)

A search engine spider will not follow links that are found within javascript.

tedster




msg:1481930
 8:38 pm on Nov 29, 2000 (gmt 0)

It's true that javascript links don't get followed. However, this code is for a rollover and the link is straight HTML. So this link can be spidered.

The challenges come with javascript functions that build dropdown boxes with links in them or functions that open links in a new window. They might look like this:
<a href="javascript:newWindow('someURL')">

So, juventus, I think you're OK.

kcbuckshot




msg:1481931
 8:41 pm on Nov 29, 2000 (gmt 0)

my bad, appologies all around

juventus




msg:1481932
 9:05 am on Nov 30, 2000 (gmt 0)

Thanks very much tedster for your answer

tedster




msg:1481933
 9:59 am on Nov 30, 2000 (gmt 0)

You're welcome, and thanks for posting.

That must be a question for a lot of people, who didn't post it for one reason or another. So you've helped to create a web resource that answers it for others, and into the future. Running a website takes a lot of different kinds of knowledge and experience, so we really need exchanges like this.

Are you French Canadian or French from France? Any insights into French on the web?

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