homepage Welcome to WebmasterWorld Guest from 54.196.196.108
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

    
Do spiders see links coded in JS?
peterinwa




msg:1480707
 6:00 am on May 27, 2003 (gmt 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\")' ";
c+="onMouseout='chgImg(\"burnButton\",\"blankUp\")'>";
c+=button+"name='burnButton'></a>";

Any ideas?

Thanks, Peter

 

tigger




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

check out this posting it may help

[webmasterworld.com...]

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