Welcome to WebmasterWorld Guest from 54.167.5.15

Forum Moderators: open

Message Too Old, No Replies

Links and javascript

     

juventus

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

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



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

tedster

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

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



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

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



my bad, appologies all around

juventus

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



Thanks very much tedster for your answer

tedster

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

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



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?

 

Featured Threads

Hot Threads This Week

Hot Threads This Month