Forum Moderators: open

Message Too Old, No Replies

Google with Javascript

how does google cope with javascript in links?

         

NedFlanders

2:18 pm on Nov 6, 2002 (gmt 0)

10+ Year Member



I have read all throught the knowledge base, and followed lots of advice that I have read online.

As a result I have a site with 100+ pages all linking to each other.

The index.htm links to the most important of these and all link back to index.htm.

I have noticed that googlebot has visited me 11 times, and requested my robots.txt twice, yet still it has only looked at a few of my files, and is now crawling other dirs of my server that have no links to my site.

The only thing I can think is that google doesn't like my link code::

<A onmouseover="javascript:change('Fashion<br><font size=1>clothes, footware, jewllery<br>perfumes, accessories<br>and much more...')" onmouseout="javascript:change('<img src=shopping-uk.gif>')" href="fashion.htm"><IMG height=80 src="fashion.gif" width=100 border=0><BR><FONT size=1>Fashion</A>

would this javascript that is embeded into the link stop google from following the link?

I have tried to find the answer myself, ;) I'm not just being lazy posting my Q

Thanks

korkus2000

2:23 pm on Nov 6, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



You probably just need to be patient, but you can try making the "href" attribute first in the "a" tag. I would also put the "br" tag outside of the anchor tag. Is it a new site that is getting its first crawl. It could take some time before you get the deep one.

NedFlanders

2:43 pm on Nov 6, 2002 (gmt 0)

10+ Year Member



Korkus - thanks for the info.

It is a new site, and I do expect to wait, I just thought it was strange that it had started to crawl else where on my server without finishing all the files in the root.

I guess I'm just getting paranoid!

;)