Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
Use Javascript to insert html
Name: chantaspell1977 Date: November 30, 2005 at 16:51:35 Pacific OS: xp sp2 CPU/Ram: 2400/256
Comment:
Hi, I want to use javascript to insert my constantly updated navbar into all my pages without laboriously updating each page with the new navbar. I have chosen to use javascript as using php/ssi means moving to .shtml from .html thus losing my page rank etc.
The question is this: Will googlebot crawl the links in the navbar (it will be in html, just using javascript to insert it), and secondly, can anyone explain how to do it? I am a bit of a novice with javascript!
Name: Dr. Nick Date: November 30, 2005 at 18:13:34 Pacific
Reply:
I do not believe search engines bots, including Googlebot, render HTML pages. They depend on all the information being available as text inside the file.
So no, if you use Javascript to generate links, Googlebot will likely not see them.
0
Response Number 2
Name: Michael J (by mjdamato) Date: November 30, 2005 at 20:44:13 Pacific
Reply:
I thought I answered the second part of your question in your last post. In your html pages where you want the menu to appear put
Summary: Skips, I've read and re-read your post several times and it still isn't clear. I think Jamie interpreted it one of the ways I've read it. According to your post header "Javascript to save last page vi...
Summary: Thank you for your kind response. I upload the files as follows: http://julie.cogia.net/ 1)index.htm 2)border.php 3)subpage.htm The source code of the index file shows that the link is "border.php". ...