Welcome to WebmasterWorld Guest from

Forum Moderators: open

Message Too Old, No Replies

Do spiders see links coded in JS?

6:00 am on May 27, 2003 (gmt 0)

Full Member

10+ Year Member

joined:Feb 24, 2002
votes: 0

It was hard to figure out where to post this question. It involves HTML, JS, search engine spiders and, in particular, Google.

I do great in Google. My homepage comes up #1. But I can't find my sub-pages searching in Google at all. I have even submitted them separately.

My very simple homepage is a menu of my sub-pages. It is coded entirely in JS which creates the page with a document.write. I do this because I want the menu to contain items conditionally, e.g., if I can't get a page to work on WebTV I don't want a link to it to show up to the WebTV browser.

Puzzled why my sub-pages don't show up in Google (they have their own titles, meta tag descriptions, etc.) it occurred to me that perhaps Google's spider isn't seeing the links because they are enclosed in JS, e.g.:

c+="<a href='index_burn.html' target='_top' ";
c+="onMouseOver='chgImg(\"burnButton\",\"blankDown\")' ";

Any ideas?

Thanks, Peter

6:02 am on May 27, 2003 (gmt 0)

Senior Member

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

joined:July 16, 2000
votes: 0

check out this posting it may help